Method for adding documents to the RedisVectorStore. It first converts the documents to texts and then adds them as vectors.
addDocuments(documents: Document<Record<string, any>>[], options: RedisAddOptions): Promise<void>| Name | Type | Description |
|---|---|---|
documents* | Document<Record<string, any>>[] | The documents to add. |
options | RedisAddOptions | Optional parameters for adding the documents. |