Skip to content
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

Vector search with Langchain results in UnprocessableEntityError #4

Open
ricurious opened this issue May 5, 2024 · 3 comments
Open

Comments

@ricurious
Copy link

I'm able to perform the vector search using pymongo, however, trying to do it using Langchain as per Lab 04 results in UnprocessableEntityError as shown below:
image

@ricurious
Copy link
Author

I'm modifying line 496 to input=texts[0] within .venv/Lib/site-packages/langchain_community/embeddings/openai.py as a workaround for now.

@farookfazni
Copy link

Hi, I am having the same issue.

@Clsmith2
Copy link

Yeah, I've been having the same issues as you have been. Thank you so much for the workarounds they have been very helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants