spring-projects / spring-projects/spring-ai

Add advanced RAG (Hybrid Search and Semantic Hybrid Search) with Azure AI Search

Open
#517 9 comments 4 reactions 2 assignees View on GitHub

@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:

  1. similaritySearchVectorWithScore - this is the current vector search Spring AI already has
  2. hybridSearchVectorWithScore - this is vector search + text search
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.