-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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: add vector retrieval and update policy/template #5218
Conversation
…upport for graph retrival and other minor imporvements
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.
Thanks for the improvements.
Could you review the PR title to conform with conventional commits (https://www.conventionalcommits.org/en/v1.0.0/#summary) ?
src/backend/base/langflow/components/vectorstores/astradb_graph.py
Outdated
Show resolved
Hide resolved
CodSpeed Performance ReportMerging #5218 will degrade performances by 10.65%Comparing Summary
Benchmarks breakdown
|
…r convention sake
@ogabrielluiz - can you review this again? I think I addressed your concerns ... |
…aph.json Remove template as per langflow team
@ogabrielluiz - I removed the template from the PR as requested |
* Updated collection_indexing_policy to store the correct json. Added support for graph retrival and other minor imporvements * Added RagGraph template * [autofix.ci] apply automated fixes * Corrected the class name to avoid ut failures * [autofix.ci] apply automated fixes * Updated _map_search_type to be less idiotic * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Renamed AstraDBGraphVectorStoreComponent back to its original form for convention sake * Unrelated to the graph work * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Linting * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes * Delete src/backend/base/langflow/initial_setup/starter_projects/RagGraph.json Remove template as per langflow team --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Eric Hare <ericrhare@gmail.com> Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This modifies the module configuration to reflect the proper class name, modifies the AstraDBGraphVectorComponent to support different search algorithms, and fixes the JSON parsing for the index policy property. It also adds a template for Graph RAG.