spring-projects / spring-projects/spring-ai
Add advanced RAG (Hybrid Search and Semantic Hybrid Search) with Azure AI Search
Open
@sobychacko is already working on this.
Since Sep 10, 2024.
azure
design
follow up
vector store
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
Azure AI Search has the following feature along with Vector Similarity Search (which is already present in Spring AI).
- Hybrid Search (Vector Search + Text Search)
- Semantic Hybrid Search (Hybrid search + re-ranking)
In the JavaScript Langchain project they basically have the 3 search models in 3 functions next to each other:
- similaritySearchVectorWithScore - this is the current vector search Spring AI already has
- hybridSearchVectorWithScore - this is vector search + text search
- semanticHybridSearchVectorWithScore - this is hybrid search + reranking
I see something similar was recently introduced in the Langchain4j project too. Would be good to have this feature in Spring AI as well.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.