-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Chroma RAG Example from Documentation Results in Error #7194
Comments
Hey @wessankey, I'm here to help you with any bugs, questions, and even guide you to become a contributor. Let's squash those bugs together! 🤖 A similar issue was reported in a closed thread titled "Error: Chroma getOrCreateCollection error: Error: TypeError: fetch failed" [1]. The error message you are encountering, "ChromaClientError: Bad request," suggests that there might be an issue with the request being sent to the Chroma service. Here are some steps you can take to troubleshoot and potentially resolve the issue:
By following these steps, you should be able to identify and resolve the issue causing the "Bad Request" error. If the problem persists, consider isolating the issue by testing each part of the process separately to pinpoint where the error occurs. |
The code runs successfully when the |
After |
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Description
I'm using LangChain to build a RAG pipeline with a Chroma vector store. The minimal reproducible example provided is a slightly modified version from the documentation.
The error occurs when calling
retriever.invoke()
.System Info
Node version: 18.16.0
@langchain/community
:0.3.12
@langchain/core
:0.3.17
@langchain/openai
:0.3.12
@chromadb
:1.9.2
The text was updated successfully, but these errors were encountered: