Feat: Add model provider Text Embedding Inference for embedding and rerank (#7132)

This commit is contained in:
Yanyi Liu
2024-08-09 19:12:13 +08:00
committed by GitHub
parent 4cbeb6815b
commit 5b32f2e0dd
13 changed files with 815 additions and 0 deletions

View File

@@ -93,6 +93,8 @@ CODE_MAX_STRING_LENGTH = "80000"
CODE_EXECUTION_ENDPOINT = "http://127.0.0.1:8194"
CODE_EXECUTION_API_KEY = "dify-sandbox"
FIRECRAWL_API_KEY = "fc-"
TEI_EMBEDDING_SERVER_URL = "http://a.abc.com:11451"
TEI_RERANK_SERVER_URL = "http://a.abc.com:11451"
[tool.poetry]
name = "dify-api"