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

feat(cassandra/astradb): hybrid search support #2396

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

nicoloboschi
Copy link
Contributor

Cassandra

Added support for:

  • Hybrid Search (full text + vector)
  • Metadata filter (vector + hard filter on metadata)
  • Similarity with min score

AstraDB

Added support for:

  • Metadata filter (vector + hard filter on metadata)
  • Similarity with min score

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jun 27, 2024
@dosubot dosubot bot added the python Pull requests that update Python code label Jun 27, 2024
Copy link
Contributor

@ogabrielluiz ogabrielluiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @nicoloboschi

Thanks for this.
Looks great.

src/backend/base/langflow/base/vectorstores/model.py Outdated Show resolved Hide resolved
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jun 27, 2024
@nicoloboschi nicoloboschi enabled auto-merge June 27, 2024 17:31
Copy link
Contributor

github-actions bot commented Jul 1, 2024

Cannot auto-update because of conflicts.

@ogabrielluiz ogabrielluiz changed the title cassandra/astradb: hybrid search support feat(cassandra/astradb): hybrid search support Jul 1, 2024
Copy link
Contributor

github-actions bot commented Jul 1, 2024

Cannot auto-update because of conflicts.

Copy link
Contributor

github-actions bot commented Jul 2, 2024

Cannot auto-update because of conflicts.

auto-merge was automatically disabled July 2, 2024 14:08

Merge commits are not allowed on this repository

@nicoloboschi nicoloboschi merged commit 30c369f into langflow-ai:main Jul 2, 2024
4 checks passed
nicoloboschi added a commit to datastax/ragstack-ai-langflow that referenced this pull request Jul 2, 2024
* cassandra/astradb: hybrid search support

* fix

* fix

(cherry picked from commit 30c369f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer python Pull requests that update Python code size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants