VectorStore Interface

public interface VectorStore

Represents a vector store.

Method Summary

Modifier and Type Method and Description
abstract VectorStoreRecordCollection<Key,Record> <Key,Record>getCollection(String collectionName, VectorStoreRecordCollectionOptions<Key,Record> options)

Gets a collection from the vector store.

abstract reactor.core.publisher.Mono<java.util.List<java.lang.String>> getCollectionNamesAsync()

Gets the names of all collections in the vector store.

Method Details

<Key,Record>getCollection

public abstract VectorStoreRecordCollection getCollection(String collectionName, VectorStoreRecordCollectionOptions options)

Gets a collection from the vector store.

Parameters:

collectionName - The name of the collection.
options - The options for the collection.

Returns:

The collection.

getCollectionNamesAsync

public abstract Mono> getCollectionNamesAsync()

Gets the names of all collections in the vector store.

Returns:

A list of collection names.

Applies to