spring-ai
spring-ai copied to clipboard
Vector Store polish
trafficstars
general low hanging optimization and polish
- refactored the
VectorStoreimplementations so that if they implementedInitializingBean, they now implementApplicationListener<ApplicationReadyEvent>, instead. The result is that the vector stores now initialize their own state after the boot app has started. this is important because a) nobody wants to wait 2x as long for their app to run SQL statements or create collections or whatever, especially when developing, and nobody wants their Kubernetes health check to fail for stuff that can be done after the application's fully online. - who is the author of
ChromaVectorStore? Should we add their author tag? do we need ChromaVectorStore#SIMILARITY_THRESHOLD_ALL and ChromaVectorStore#SIMILARITY_THRESHOLD_ALL - renamed the module/artifact for
spring-ai-azure-vector-storetospring-ai-azure-storeto match other vector stores - renamed a few directories to match their
artifactIds - made sure
pom.xmlnameelements looked consistent (try running./mvnw cleanand you'll see the output is nicer)