langchain.js
    Preparing search index...

    This interface defines the fields required to initialize a query vector store These are the fields part of config:

    interface CouchbaseQueryVectorStoreArgs {
        addVectorOptions?: AddVectorOptions;
        bucketName: string;
        cluster: Cluster;
        collectionName: string;
        distanceStrategy?: DistanceStrategy;
        embeddingKey?: string;
        scopeName: string;
        textKey?: string;
    }
    Index

    Properties

    addVectorOptions?: AddVectorOptions

    Options for adding vectors with specific id/metadata

    bucketName: string

    The name of the bucket in the Couchbase cluster.

    cluster: Cluster

    The Couchbase cluster that the store will interact with.

    collectionName: string

    The name of the collection within the scope.

    distanceStrategy?: DistanceStrategy

    The distance strategy to use for vector similarity calculations. Defaults to DOT.

    embeddingKey?: string

    The key to be used for embeddings in the documents. Defaults to "embedding".

    scopeName: string

    The name of the scope within the bucket.

    textKey?: string

    The key to be used for text in the documents. Defaults to "text".