mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-16 14:40:56 +00:00
feat(model): Support tongyi embedding (#1552)
Co-authored-by: 无剑 <zhuzhenchao@changeme.com> Co-authored-by: csunny <cfqsunny@163.com> Co-authored-by: aries_ckt <916701291@qq.com>
This commit is contained in:
@@ -92,6 +92,11 @@ KNOWLEDGE_SEARCH_REWRITE=False
|
||||
# proxy_openai_proxy_api_key={your-openai-sk}
|
||||
# proxy_openai_proxy_backend=text-embedding-ada-002
|
||||
|
||||
|
||||
## qwen embedding model, See dbgpt/model/parameter.py
|
||||
# EMBEDDING_MODEL=proxy_tongyi
|
||||
# proxy_tongyi_proxy_backend=text-embedding-v1
|
||||
|
||||
## Common HTTP embedding model
|
||||
# EMBEDDING_MODEL=proxy_http_openapi
|
||||
# proxy_http_openapi_proxy_server_url=http://localhost:8100/api/v1/embeddings
|
||||
|
Reference in New Issue
Block a user