-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
feat: Enhance Chroma Handling, Bug Fixes & add GoogleGenerativeAIEmbeddingsComponent #3476
Conversation
Pull Request Validation ReportThis comment is automatically generated by Conventional PR Whitelist Report
Result Pull request does not satisfy any enabled whitelist criteria. Pull request will be validated. Validation Report
Result Pull request is invalid. Reason
Last Modified at 21 Aug 24 15:27 UTC |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/backend/base/langflow/components/embeddings/GoogleGenerativeAIEmbeddings.py
Outdated
Show resolved
Hide resolved
…veAIEmbeddings.py Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]>
…ddingsComponent (#3476) * Update Chroma.py * Update utils.py * Create GoogleGenerativeAIEmbeddings.py * Update __init__.py * Update GoogleGenerativeAIEmbeddings.py * [autofix.ci] apply automated fixes * Update src/backend/base/langflow/components/embeddings/GoogleGenerativeAIEmbeddings.py Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]> --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]>
…ddingsComponent (#3476) * Update Chroma.py * Update utils.py * Create GoogleGenerativeAIEmbeddings.py * Update __init__.py * Update GoogleGenerativeAIEmbeddings.py * [autofix.ci] apply automated fixes * Update src/backend/base/langflow/components/embeddings/GoogleGenerativeAIEmbeddings.py Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]> --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]>
This pull request addresses a bug in the
chroma_collection_to_data
function and introduces theGoogleGenerativeAIEmbeddingsComponent
for improved chroma handling.Bug Fixes:
Chroma.py
: Fixed a bug related to thelimit
parameter, ensuring it behaves as intended.vectorstores/utils.py
: Added a check in thechroma_collection_to_data
function to handle cases wheremetadata
might beNone
. This prevents potential errors.New Feature:
GoogleGenerativeAIEmbeddingsComponent
to enhance chroma processing.