Interface VectorStore

  • All Known Implementing Classes:
    VolatileVectorStore

    public interface VectorStore
    Represents a vector store.
    • Method Detail

      • getCollection

        <Key,​Record> VectorStoreRecordCollection<Key,​Record> getCollection​(@Nonnull
                                                                                       String collectionName,
                                                                                       @Nonnull
                                                                                       VectorStoreRecordCollectionOptions<Key,​Record> options)
        Gets a collection from the vector store.
        Type Parameters:
        Key - The key type.
        Record - The record type.
        Parameters:
        collectionName - The name of the collection.
        options - The options for the collection.
        Returns:
        The collection.
      • getCollectionNamesAsync

        reactor.core.publisher.Mono<List<String>> getCollectionNamesAsync()
        Gets the names of all collections in the vector store.
        Returns:
        A list of collection names.