interface VectorStoreRedisNodeParameters {
embeddingBatchSize?: number;
id?: string;
includeDocumentMetadata?: boolean;
mode?:
| "update"
| "load"
| "insert"
| "retrieve"
| "retrieve-as-tool";
options?: | {
contentKey?: string;
keyPrefix?: string;
metadataKey?: string;
overwriteDocuments?: boolean;
ttl?: number;
vectorKey?: string;
}
| {
contentKey?: string;
keyPrefix?: string;
metadataFilter?: string;
metadataKey?: string;
vectorKey?: string;
};
prompt?: string;
redisIndex?: { mode: "id"
| "list"; value: string };
toolDescription?: string;
toolName?: string;
topK?: number;
useReranker?: boolean;
}Properties§
Source§readonly include Document Metadata?: boolean
readonly include Document Metadata?: boolean
Whether or not to include document metadata Default: true
Source§readonly mode?:
| "update"
| "load"
| "insert"
| "retrieve"
| "retrieve-as-tool"
readonly mode?:
| "update"
| "load"
| "insert"
| "retrieve"
| "retrieve-as-tool"
Default: "retrieve"
Source§readonly options?:
| {
contentKey?: string;
keyPrefix?: string;
metadataKey?: string;
overwriteDocuments?: boolean;
ttl?: number;
vectorKey?: string;
}
| {
contentKey?: string;
keyPrefix?: string;
metadataFilter?: string;
metadataKey?: string;
vectorKey?: string;
}
readonly options?:
| {
contentKey?: string;
keyPrefix?: string;
metadataKey?: string;
overwriteDocuments?: boolean;
ttl?: number;
vectorKey?: string;
}
| {
contentKey?: string;
keyPrefix?: string;
metadataFilter?: string;
metadataKey?: string;
vectorKey?: string;
}
Default: {}
Source§readonly prompt?: string
readonly prompt?: string
Search prompt to retrieve matching documents from the vector store using similarity-based ranking
Source§readonly redis Index?: { mode: "id" | "list"; value: string }
readonly redis Index?: { mode: "id" | "list"; value: string }
Default: {"mode":"list","value":""}
Number of documents to embed in a single batch Default: 200