spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Vector Store polish

Open joshlong opened this issue 1 year ago • 0 comments
trafficstars

general low hanging optimization and polish

  • refactored the VectorStore implementations so that if they implemented InitializingBean, they now implement ApplicationListener<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-store to spring-ai-azure-store to match other vector stores
  • renamed a few directories to match their artifactIds
  • made sure pom.xml name elements looked consistent (try running ./mvnw clean and you'll see the output is nicer)

joshlong avatar May 06 '24 10:05 joshlong