Add advanced RAG (Hybrid Search and Semantic Hybrid Search) with Azure AI Search
iAMSagar44 opened this issue · comments
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.