forked from pingcap/autoflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update deployment guide and more
- Loading branch information
Showing
5 changed files
with
61 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,8 @@ SECRET_KEY= | |
# Replace with your own sentry dsn, leave it commented if you don't want to use sentry | ||
# SENTRY_DSN=https://[email protected]/xxxxxx | ||
|
||
# Replace with your own TiDB Serverless connection information, | ||
# currently only TiDB Serverless supports vector search. | ||
# You can quickly create one from https://tidbcloud.com/ | ||
# Replace with your own TiDB cluster connection information, | ||
# TiDB Serverless is recommended. You can quickly create one from https://tidbcloud.com/ | ||
TIDB_HOST=xxxxx.prod.aws.tidbcloud.com | ||
TIDB_USER= | ||
TIDB_PASSWORD= | ||
|
@@ -23,6 +22,10 @@ TIDB_SSL=true | |
# The default EMBEDDING_DIMS and EMBEDDING_MAX_TOKENS are set for the OpenAI text-embedding-3-small model. | ||
# If using a different embedding model, adjust these values according to the model's specifications. | ||
# For example: | ||
# maidalun1020/bce-embedding-base_v1: EMBEDDING_DIMS=768 EMBEDDING_MAX_TOKENS=512 | ||
# openai/text-embedding-3-small: EMBEDDING_DIMS=1536, EMBEDDING_MAX_TOKENS=8191 | ||
# maidalun1020/bce-embedding-base_v1: EMBEDDING_DIMS=768, EMBEDDING_MAX_TOKENS=512 | ||
# BAAI/bge-m3: EMBEDDING_DIMS=1024, EMBEDDING_MAX_TOKENS=8192 | ||
EMBEDDING_DIMS=1536 | ||
# EMBEDDING_MAX_TOKENS should be equal or smaller than the embedding model's max tokens, | ||
# it indicates the max size of document chunks. | ||
EMBEDDING_MAX_TOKENS=8191 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters