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;
postFilterPipeline: string;
preFilter: string;
};
prompt?: string;
toolDescription?: string;
toolName?: string;
topK?: number;
useReranker?: boolean;
vectorIndexName?: string;
}
Properties§
§
§
§
§
§
§
§
§
§
§
§
§
§
§
readonly embedding?: string
readonly embedding Batch Size?: number
Number of documents to embed in a single batch Default: 200
readonly id?: string
ID of an embedding entry
readonly include Document Metadata?: boolean
Whether or not to include document metadata Default: true
readonly metadata _ field?: string
The text field of the raw data Default: "text"
readonly mode?:
| "update"
| "load"
| "insert"
| "retrieve"
| "retrieve-as-tool"
Default: "retrieve"
readonly mongo Collection?: { ... }
Default: {"mode":"list","value":""}
readonly options?:
| { clearNamespace?: boolean; namespace?: string }
| {
metadata?: {
metadataValues: { name: string; value?: string }[];
};
namespace?: string;
postFilterPipeline: string;
preFilter: string;
}
Default: {}
readonly prompt?: string
Search prompt to retrieve matching documents from the vector store using similarity-based ranking
readonly tool Description?: 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}
readonly tool Name?: string
Name of the vector store
readonly top K?: number
Number of top results to fetch from vector store Default: 4
readonly use Reranker?: boolean
Whether or not to rerank results
readonly vector Index Name?: string
The name of the vector index
The field with the embedding array Default: "embedding"