Ask a question to get started
Enter to send•Shift+Enter new line
Method to add documents to the Xata database. Maps the page content of each document, embeds the documents using the embeddings, and adds the vectors to the database.
addDocuments(documents: Document<Record<string, any>>[], options: __type): Promise<string[]>
documents
Document<Record<string, any>>[]
Array of documents to be added.
options
__type
Optional object containing an array of ids.