-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
[Feature]: Support for OpenAIEmbeddings with Langchain #5734
Comments
Having the same issue this morning... |
same since a few minutes too. |
Hey guys, I just found the cause for the issue:
Here is the complete code:
|
thanks a lot ! it solved the problem for me. |
Thank you! |
Appreciate the quick work in debugging! :) @suanmiao Would you mind opening an issue for vLLM to support the default |
@mgoin it's going to be a good first issue! |
I'm on this :) |
Hi @Etelis , I'm new to open source development and found this issue as a good starting point. Do you think we can work on this together if you're interested? |
Of course! Go ahead and start working on it. We can merge both of our modifications once you're done. By the way, I think the modification needed here is slight, so there might not be too much to do. |
Hi folks @Etelis @DarkLight1337 Please let me know your test results :) thanks |
Closed as completed by #5935 |
Both these methods generate different embedding for the same text |
Please open a new issue and provide more details, such as a script showing both methods. |
🚀 The feature, motivation and pitch
I have hosted
e5-mistral-7b-instruct
with vllm OpenAI compatible APIs and it can be accessed by Posting tohttp://localhost:8000/v1/embeddings
with:However, it seems cannot be accessed through Langchain with:
Error received:
Will it be supported in Langchain? Or have I done anything wrong?
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: