Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Migrate vector store auto-configurations to dedicated modules #2308

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sobychacko
Copy link
Contributor

Move vector store auto-configuration classes to dedicated modules under auto-configurations/vector-stores/:

  • Creates separate modules for Milvus, Pinecone, Qdrant, and Typesense vector stores
  • Moves CommonVectorStoreProperties to spring-ai-core for better reusability
  • Updates pom.xml dependencies to maintain proper relationships between modules

This change improves modularity by allowing each vector store implementation to be independently versioned and maintained, continuing the migration pattern established with previous vector stores.

@sobychacko sobychacko force-pushed the vector-store-autoconfiguration branch from 95c2cd2 to deb631f Compare February 25, 2025 01:24
@ilayaperumalg ilayaperumalg self-assigned this Feb 26, 2025
@ilayaperumalg ilayaperumalg added this to the 1.0.0-M7 milestone Feb 26, 2025
@ilayaperumalg
Copy link
Member

After the rebase with Qdrant client update, I see that the Qdrant autoconfiguration needs to be updated as I see:

[ERROR] /Users/igopinathan/dev/git/spring-projects/spring-ai/auto-configurations/vector-stores/spring-ai-qdrant-store-spring-boot-autoconfigure/src/main/java/org/springframework/ai/autoconfigure/vectorstore/qdrant/QdrantVectorStoreAutoConfiguration.java:[59,78] cannot access io.grpc.ManagedChannel
[ERROR] class file for io.grpc.ManagedChannel not found
[ERROR]

@sobychacko sobychacko force-pushed the vector-store-autoconfiguration branch from deb631f to 806da0c Compare February 26, 2025 15:01
Move vector store auto-configuration classes to dedicated modules under auto-configurations/vector-stores/:

- Creates separate modules for Milvus, Pinecone, Qdrant, and Typesense vector stores
- Moves CommonVectorStoreProperties to spring-ai-core for better reusability
- Updates pom.xml dependencies to maintain proper relationships between modules

This change improves modularity by allowing each vector store implementation to be
independently versioned and maintained, continuing the migration pattern established
with previous vector stores.

Signed-off-by: Soby Chacko <soby.chacko@broadcom.com>
Need to provide grpc-api dependency in provided scope for compilation/test

Signed-off-by: Soby Chacko <soby.chacko@broadcom.com>
@sobychacko sobychacko force-pushed the vector-store-autoconfiguration branch from 806da0c to 778c890 Compare February 27, 2025 00:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants