Skip to content

GH-2137: Add getNativeClient API to VectorStore interface #2161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

sobychacko
Copy link
Contributor

Fixes: #2137

Adds getNativeClient API to VectorStore interface allowing access to the underlying native client implementation.

This change:

  • Adds getNativeClient() default method to VectorStore interface returning Optional
  • Implements getNativeClient() in all vector store implementations, exposing their respective native clients
  • Adds integration tests verifying native client access for all implementations

Fixes: spring-projects#2137

Adds getNativeClient API to VectorStore interface allowing access to the underlying native client implementation.

This change:
- Adds getNativeClient() default method to VectorStore interface returning Optional<T>
- Implements getNativeClient() in all vector store implementations exposing their respective native clients
- Adds integration tests verifying native client access for all implementations

Signed-off-by: Soby Chacko <[email protected]>
@sobychacko sobychacko added this to the 1.0.0-M6 milestone Feb 2, 2025
@markpollack
Copy link
Member

Added docs.

Merged in 16a596f

@markpollack markpollack closed this Feb 3, 2025
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.

Vector store API to gain access to the native client
2 participants