- Introduce AbstractObservationVectorStore for instrumentation. Add observe instrumentation for the add, delete and the similaritySearch methods.
- Add VectorStoreObservationContext for capturing operation details.
- Implement DefaultVectorStoreObservationConvention for naming and tagging
- Create filters for add and delete request content observation Implement VectorStoreQueryResponseContentObservationFilter.
- Update VectorStore interface with getName() method, returning the class name by default.
- Add VectorStoreObservationDocumentation for defining observation keys.
- Create VectorStoreObservationAutoConfiguration for auto-configuring observations.
- Add VectorStoreObservationProperties for configuring observation behavior. They are used to control the optional, additional, observationcontent filters.
- Update PgVectorStoreAutoConfiguration to support observations.
- Modify PgVectorStore to extend AbstractObservationVectorStore
- Add observation support to PgVectorStore's Builder.
Resolves #1204
Comment From: ThomasVitale
Looks great!