Add Documents
Add Documents to a vectorstore
Args: vectorstoreID (str): ID of the vectorstore to add documents to documents (list[str], optional): List of documents names to add to the vectorstore For file documents can be a list of file object ids documentType (str, optional): Type of document. Defaults to Form(...). selectedItems (Optional[str], optional): List of selected items. Defaults to Form(None). metadata (Optional[dict], optional): Metadata for the documents. Defaults to Form(None). access_token (str): Access token.
Returns: dict: documents added to the vectorstore
post/vectorstores/add-documents
Request
- Base URL: https://api.vectorshift.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.vectorshift.ai/vectorstores/add-documents
- Auth: HTTP bearer
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.