Vector Search Client
interface VectorSearchClient
A client for searching similar vectors.
The find method takes a VectorSearchClientRequest and a set of AgentRoutingSpecs and returns the most similar document based on the cosine similarity of the embeddings.
Inheritors
Functions
Link copied to clipboard
abstract fun find(request: VectorSearchClientRequest, agentRoutingSpecs: Set<AgentRoutingSpec>): Result<VectorSearchClientResponse?, VectorClientException>