addDocuments(
documents: Document<Record<string, any>>[],
documentOptions: QdrantAddDocumentOptions
):| Name | Type | Description |
|---|---|---|
documents* | Document<Record<string, any>>[] | |
documentOptions | QdrantAddDocumentOptions |
Method to add documents to the Qdrant database. It generates vectors
from the documents using the Embeddings instance and then adds the
vectors to the database.
Array of Document instances to be added to the Qdrant database.
Optional QdrantAddDocumentOptions which has a list of JSON objects for extra querying