Skip to content

Comments

Migrate vector store auto-configurations to dedicated modules#2391

Closed
sobychacko wants to merge 1 commit intospring-projects:refactor-startersfrom
sobychacko:vector-store-autoconfiguration-refactor2
Closed

Migrate vector store auto-configurations to dedicated modules#2391
sobychacko wants to merge 1 commit intospring-projects:refactor-startersfrom
sobychacko:vector-store-autoconfiguration-refactor2

Conversation

@sobychacko
Copy link
Contributor

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

  • Creates separate modules for Cassandra, Chroma, Elasticsearch, GemFire, HanaDB, MariaDB, MongoDB Atlas, Neo4j, OpenSearch, Oracle, PGVector, and Redis vector stores
  • Updates package names to follow the pattern org.springframework.ai.vectorstore..autoconfigure
  • Renames corresponding starter modules to follow the pattern spring-ai-starter-vector-store-
  • Updates import paths in affected classes
  • Relocates test resources alongside their respective implementations
  • Updates imports in spring-ai-spring-boot-docker-compose and spring-ai-spring-boot-testcontainers

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

Move vector store auto-configuration classes to dedicated modules under auto-configurations/vector-stores/:
- Creates separate modules for Cassandra, Chroma, Elasticsearch, GemFire, HanaDB, MariaDB, MongoDB Atlas, Neo4j, OpenSearch, Oracle, PGVector, and Redis vector stores
- Updates package names to follow the pattern org.springframework.ai.vectorstore.<implementation>.autoconfigure
- Renames corresponding starter modules to follow the pattern spring-ai-starter-vector-store-<implementation>
- Updates import paths in affected classes
- Relocates test resources alongside their respective implementations
- Updates imports in spring-ai-spring-boot-docker-compose and spring-ai-spring-boot-testcontainers

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

Signed-off-by: Soby Chacko <soby.chacko@broadcom.com>
@ilayaperumalg ilayaperumalg self-assigned this Mar 6, 2025
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate entries of tool and openai dependencies. I will remove them when merging.

@ilayaperumalg
Copy link
Member

Rebased and merged as cbe0fec

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants