Interface VectorStoreMongoDBAtlasNodeParameters

Source
interface VectorStoreMongoDBAtlasNodeParameters {
    embedding?: string;
    embeddingBatchSize?: number;
    id?: string;
    includeDocumentMetadata?: boolean;
    metadata_field?: string;
    mode?:
        | "update"
        | "load"
        | "insert"
        | "retrieve"
        | "retrieve-as-tool";
    mongoCollection?: {
        mode: "list"
        | "name";
        value: string;
    };
    options?: | {
        clearNamespace?: boolean;
        namespace?: string;
    }
    | {
        metadata?: {
            metadataValues: { name: string; value?: string }[];
        };
        namespace?: string;
    };
    prompt?: string;
    toolDescription?: string;
    toolName?: string;
    topK?: number;
    useReranker?: boolean;
    vectorIndexName?: string;
}

Properties§

Source§

readonly embedding?: string

The field with the embedding array Default: "embedding"

Source§

readonly embeddingBatchSize?: number

Number of documents to embed in a single batch Default: 200

Source§

readonly id?: string

ID of an embedding entry

Source§

readonly includeDocumentMetadata?: boolean

Whether or not to include document metadata Default: true

Source§

readonly metadata_field?: string

The text field of the raw data Default: "text"

Source§

readonly mode?:
    | "update"
    | "load"
    | "insert"
    | "retrieve"
    | "retrieve-as-tool"

Default: "retrieve"

Source§

readonly mongoCollection?: { mode: "list" | "name"; value: string }

Default: {"mode":"list","value":""}

Source§

readonly options?:
    | { clearNamespace?: boolean; namespace?: string }
    | {
        metadata?: {
            metadataValues: { name: string; value?: string }[];
        };
        namespace?: string;
    }

Default: {}

Source§

readonly prompt?: string

Search prompt to retrieve matching documents from the vector store using similarity-based ranking

Source§

readonly toolDescription?: string

Explain to the LLM what this tool does, a good, specific description would allow LLMs to produce expected results much more often Type options: {"rows":2}

Source§

readonly toolName?: string

Name of the vector store

Source§

readonly topK?: number

Number of top results to fetch from vector store Default: 4

Source§

readonly useReranker?: boolean

Whether or not to rerank results

Source§

readonly vectorIndexName?: string

The name of the vector index