We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ced198 commit eef66d8Copy full SHA for eef66d8
1 file changed
ui/ModelModal/src/ModelModal.tsx
@@ -612,13 +612,13 @@ export const ModelModal: React.FC<ModelModalProps> = ({
612
if (it.label === 'AzureOpenAI') return '';
613
if (it.label === 'BaiLian') {
614
if (model_type === 'embedding') {
615
- return 'https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings#';
+ return 'https://dashscope.aliyuncs.com/api/v1/services/embeddings/text-embedding/text-embedding#';
616
}
617
if (
618
model_type === 'rerank' ||
619
model_type === 'reranker'
620
) {
621
- return 'https://dashscope.aliyuncs.com/compatible-api/v1/reranks#';
+ return 'https://dashscope.aliyuncs.com/api/v1/services/rerank/text-rerank/text-rerank#';
622
623
624
return it.defaultBaseUrl;
0 commit comments