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

Enhanced Vector Store Capabilities with Full-Text/Hybrid Search and Reranking #1227

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alessiobertazzo88
Copy link

  • Updated the core vector store's classes to support vector search (enabled by default as today), full-text search, and reranking. Hybrid search is enabled when vector and full-text search are enabled at the same time.
  • Added new default methods that throw UnsupportedOperationException to prevent the need for implementation across all vector stores unless specifically required.
  • Implemented full-text search, hybrid search, and reranking functionalities specifically for the Azure Search AI vector store.

These enhancements improve the flexibility and functionality of the vector store classes, ensuring compatibility with various search and ranking operations while maintaining backward compatibility.

…ll-text). Azure SearchAI implementation with also reranking using Semantic Ranking service
@tzolov
Copy link
Contributor

tzolov commented Aug 21, 2024

Thank you @alessiobertazzo88 ,
This is very interesting.

May you which of the supported Vector Stores provide hybrid search as well?

@markpollack markpollack added this to the 1.0.0-M2 milestone Aug 22, 2024
@markpollack
Copy link
Member

I was just about to merge this for M2 (even wrote docs) but then thought it might be better to push these variations into the search request and rename 'similaritySearch' to just 'search'. There are also other improvements to the VectorStore interface that should be done (for example options wrt to add), so I'll hold off merging for now.

@markpollack markpollack modified the milestones: 1.0.0-M2, 1.0.0-RC1 Aug 22, 2024
@alessiobertazzo88
Copy link
Author

@tzolov Yes, from a brief research I saw that other Vector Stores provide this feature

@markpollack ok I'm going to add some things. If you have some specific propose I'm glad to integrate it.

@johnsonr
Copy link

Agree re hybrid search. Reranking perhaps should be an advisor though.

@markpollack
Copy link
Member

yes, reranking is a perfect use case for an advisor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants