专业版,在使用AI助手插件配置知识库时无法使用千问的地址 #206
jackandddc-ops
started this conversation in
General
Replies: 1 comment
|
是的,现在的版本是固定了后缀,并且不支持修改。但是目前我们已经通过 AI Foundation 插件重构了这一部分,推荐试试:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
在AI助手插件配置选择OpenAI兼容设置了千问的api地址,但在使用知识库时提示
400 - {"requestId":"49a0dcfe-445d-9fc5-8446-f770051b1b96","code":"InvalidParameter","message":"No static resource api-openai/v1/embeddings/v1/embeddings."}
现在的千问的OpenAI兼容地址已经变为下面的样子了,看报的错感觉像是你们插件地址是不是自带了地址,所以我在配置中设置了千问的地址没效果。希望能解决或者告知如何解决
OpenAI兼容
公共云使用SDK调用时需配置的base_url: https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/compatible-mode/v1
使用HTTP方式调用时需配置的endpoint: POST https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/compatible-mode/v1/embeddings
All reactions