HuggingFaceEndpointEmbeddings fails with faiss #29549
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
investigate
Flagged for investigation.
Ɑ: vector store
Related to vector store module
Checked other resources
Example Code
This code fails:
Most likely because of this:
Both returns the error:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (2, 1) + inhomogeneous part.
Error Message and Stack Trace (if applicable)
Description
I tried following the quickstart guide with the huggingface api. I don't know if the same error happens with the OpenAI embeddings endpoint, since I don't have API access there.
System Info
The text was updated successfully, but these errors were encountered: