config: 配置源
This commit is contained in:
@@ -83,7 +83,8 @@ ai_configs = {
|
||||
},
|
||||
'bailian-embedding': {
|
||||
'model': 'text-embedding-v4',
|
||||
'url': 'https://llm-z0ugjqj2yf8a7i89.cn-beijing.maas.aliyuncs.com/compatible-mode/v1/embeddings',
|
||||
# 'url': 'https://llm-z0ugjqj2yf8a7i89.cn-beijing.maas.aliyuncs.com/compatible-mode/v1/embeddings',
|
||||
"url": "https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings",
|
||||
'key': env.llm_key_bailian,
|
||||
},
|
||||
}
|
||||
|
||||
+1
-6
@@ -40,15 +40,10 @@ psycopg = {extras = ["binary"], version = "^3.3.3"}
|
||||
langchain-cli = ">=0.0.15"
|
||||
|
||||
# 配置国内镜像源
|
||||
[[tool.poetry.source]]
|
||||
name = "tsinghua"
|
||||
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
|
||||
priority = "primary" # 最高优先级
|
||||
|
||||
[[tool.poetry.source]]
|
||||
name = "aliyun"
|
||||
url = "https://mirrors.aliyun.com/pypi/simple/"
|
||||
priority = "supplemental" # 次级优先级
|
||||
priority = "primary" # 最高优先级
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
|
||||
Reference in New Issue
Block a user