OpenAIEmbeddings unable to embed_query or embed_documents to locally hosted embedding but works directly. #28680
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Errors when using embeddings_model.embed_query
Description
Unable to use OpenAIEmbeddings with a locally hosted embedding.
The following does work when using the client directly
Also can confirm through openai directly.
Any ideas?
System Info
langchain==0.3.11
langchain-community==0.3.11
langchain-core==0.3.24
langchain-google-community==2.0.2
langchain-google-vertexai==2.0.3
langchain-huggingface==0.1.2
langchain-openai==0.2.10
langchain-text-splitters==0.3.2
langgraph==0.2.53
langgraph-checkpoint==2.0.6
langgraph-sdk==0.1.36
langsmith==0.1.146
The text was updated successfully, but these errors were encountered: