insert_documents
Add new documents to a Zvec collection with unique IDs and schema validation. Operation fails if a document with the same ID exists.
Instructions
Insert new documents into a collection.
Documents must have unique IDs and conform to the collection schema. This operation fails if a document with the same ID already exists.
Args: params (InsertDocumentsInput): Validated input parameters containing: - collection_name (str): Collection identifier - documents (List[DocumentInput]): Documents to insert
Returns: str: Success message with insertion count or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |