infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
17.64k stars 1.8k forks source link

[Bug]: cannot add embedding model : bce-embedding-base_v1 #2124

Open guessor opened 3 weeks ago

guessor commented 3 weeks ago

Is there an existing issue for the same bug?

Branch name

main

Commit ID

NA

Other environment information

No response

Actual behavior

when we try to add the local embedding model using OpenAI-API-Compatible, we got the following issue:

Fail to access embedding model(bce-embedding-base___OpenAI-API).Fail

Expected behavior

No response

Steps to reproduce

- Add model type: embedding
- add model name: bce-embedding-base_v1
 - input base url: {our own url}
- API key : {our own key}

Additional information

No response

hangters commented 3 weeks ago

hi @guessor
Possible reasons for the failure to add the model could include:

1.Which deployment platform are you using? Does it support the OpenAI SDK? 2.Is your base_url filled in correctly? You can refer to this image for guidance.

1

If you encounter any difficulties, feel free to contact me at any time.