feat: 使用百炼的嵌入模型服务

This commit is contained in:
martsforever
2025-09-07 01:06:23 +08:00
parent ca658c2006
commit a90bee1b95
3 changed files with 10 additions and 2 deletions
+5
View File
@@ -71,4 +71,9 @@ ai_configs = {
'url': 'https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions',
'key': env.llm_key_bailian,
},
'bailian-embedding': {
'model': 'text-embedding-v4',
'url': 'https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings',
'key': env.llm_key_bailian,
},
}