-
Notifications
You must be signed in to change notification settings - Fork 3.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
Cannot set a server for chroma db component because it no longer compiles due to chroma_server_cors_allow_origins value is not a valid list #1882
Comments
To address the compilation failure of the Chroma db component due to the
Make sure all configuration field names are correctly spelled and the data types match the expected types. For SSL configurations, ensure By correcting these configurations, you should be able to resolve the compilation issues.
|
To resolve the
By ensuring the CORS origins are correctly formatted as a list of strings and using the correct field names for server port configurations, you should be able to compile the Chroma component successfully and address the CORS policy violations.
|
I used the exact list, and it still has the same error: |
Given the persistent issue with the
By focusing on these specific areas, you should be able to address the configuration issues you're facing with the Chroma db component. If the problem persists, providing more detailed information about your configuration steps and any additional error messages could help further diagnose the issue.
|
I have tried those values as well, and still the same error @dosu |
It appears the issues you're encountering with the
Ensure all dependencies are up to date, as sometimes these issues are addressed in newer versions of the libraries involved. Adding detailed logging around the construction and use of If after these adjustments you're still facing the same errors, it would be beneficial to review the exact configuration code or steps you're using to set up the Chroma db component, as there might be other factors at play causing these errors.
|
Actually, the bug is not in the cors list at all, but in changing the server. To reproduce:
|
The issue with the To address this, ensure that the chroma_settings = chromadb.config.Settings(
chroma_server_cors_allow_origins=[chroma_server_cors_allow_origins] if chroma_server_cors_allow_origins else [],
...
) This adjustment ensures that the If the problem persists after making these changes, it might be beneficial to review the entire configuration process for any other potential misconfigurations or to check for updates in the libraries involved that might address these issues.
|
Hi team, err: |
Describe the bug
When you use a chroma vector store with a locally running chroma instance (at 127.0.0.1:8000), the chroma component doesn't compile
Browser and Version
Safari Version 17.4 (19618.1.15.11.12)
this is using langflow vs 1.0.0.30a
To Reproduce
The text was updated successfully, but these errors were encountered: