VectorDataApi

Interface for vector data operations.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun deleteVectors(keys: List<String>)

Deletes vectors by their keys in batch (1-500 per request)

Link copied to clipboard
abstract suspend fun getVectors(options: GetVectorOptions.() -> Unit): List<VectorMatch>

Retrieves vectors by their keys in batch using the given options

Link copied to clipboard
abstract suspend fun listVectors(options: ListVectorsOptions.() -> Unit = {}): ListVectorsResponse

Lists vectors in an index with pagination using the given options

Link copied to clipboard
abstract suspend fun putVectors(vectors: List<VectorObject>)

Inserts or updates vectors in batch (1-500 per request)

Link copied to clipboard
abstract suspend fun queryVectors(options: QueryVectorsOptions.() -> Unit): QueryVectorsResponse

Queries for similar vectors using approximate nearest neighbor search using the given options