spring-projects / spring-ai

An Application Framework for AI Engineering
https://docs.spring.io/spring-ai/reference/1.0-SNAPSHOT/index.html
Apache License 2.0
2.35k stars 540 forks source link

Expose `QdrantClient` and `WeaviateClient` as beans #682

Closed eddumelendez closed 1 month ago

eddumelendez commented 1 month ago

Currently, QdrantClient and WeaviateClient are not exposed as beans. Having access to those would benefit to perform operations with an already configured client.

This would be great for having a actuator module with HealthContributor for each integration.

This is a breaking change but IMHO it is fine for 1.0.0.

tzolov commented 1 month ago

Thank you @eddumelendez , The QdrantVectorStoreCloudAutoConfigurationIT is failing for me. Never mind It seems my cluster has expired.

tzolov commented 1 month ago

Thank you again @eddumelendez I've added some documentation updates for the qdrant and weaviate stores.

tzolov commented 1 month ago

Rebased, squashed and merged at 5beef21a4eca4fff54a4a8395419fbf36acf60cc Additionally deprecate the qdrant config class and update the qdrant and weavient documentation.