-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]ChatQnA dataprep not connect to embedding service #1482
Labels
bug
Something isn't working
Comments
gavinlichn
added a commit
to gavinlichn/GenAIExamples
that referenced
this issue
Jan 29, 2025
GenAIComps dataprep-redis read the environment "TEI_EMBEDDING_ENDPOINT" Change the compose file to aligned. Fixes: opea-project#1482 Signed-off-by: Li Gang <[email protected]>
4 tasks
Fixed in #1483 by @lvliang-intel. |
This was referenced Feb 5, 2025
@letonghan, please check this issue. |
Will check it soon. |
letonghan
added a commit
to letonghan/GenAIComps
that referenced
this issue
Feb 7, 2025
Trace: 1. The update of `langchain_huggingface.HuggingFaceEndpointEmbeddings` caused the wrong size of embedding vectors. 2. Wrong size vectors are wrongly saved into Redis database in type of `byte`, and the indices are not created correctly. 3. The retriever can not retrieve data from Redis using index due to the reasons above. 4. Then the RAG seems `not work`, for the file uploaded can not be retrieved from database. Solution: Replace all of the `langchain_huggingface.HuggingFaceEndpointEmbeddings` to `langchain_community.embeddings.HuggingFaceInferenceAPIEmbeddings`, and modify related READMEs and scirpts. Related issue: opea-project/GenAIExamples#1482 Signed-off-by: letonghan <[email protected]>
1 task
Hi @gavinlichn , the root caused of dataprep has been located and fixed in this PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Priority
P1-Stopper
OS type
Ubuntu
Hardware type
Xeon-GNR
Installation method
Deploy method
Running nodes
Single Node
What's the version?
v1.2
Description
After changed the embedding model, dataprep always go to local embedding, and use default embedding model.
Checked the settings, dataprep always check the environment "TEI_EMBEDDING_ENDPOINT" for external embedding, but docker compose is "TEI_ENDPOINT"
Reproduce steps
Raw log
Attachments
No response
The text was updated successfully, but these errors were encountered: