KoogVectorStore

A unified storage interface that combines WriteStorage, SearchStorage, and FilteringDeletionStorage for use with Spring AI vector stores.

Users can inject this single interface as a Spring Bean to access all storage capabilities (ingestion, retrieval, deletion) through one dependency.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun add(documents: List<TextDocument>, namespace: String?): List<String>
Link copied to clipboard
abstract suspend fun delete(ids: List<String>, namespace: String?): List<String>
abstract suspend fun delete(filterExpression: String, namespace: String?): List<String>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun search(request: SimilaritySearchRequest, namespace: String?): List<SearchResult<TextDocument>>
Link copied to clipboard
abstract suspend fun update(documents: Map<String, TextDocument>, namespace: String?): List<String>