kb_add_file
Completes the second step of file upload by creating a knowledge base document from the uploaded file's signed_id. It extracts text, chunks it, and embeds it for search, returning document_id and status.
Instructions
Step 2 of a two-step file upload: after PUTting the file to the upload_url from kb_create_direct_upload, create the KB document from the uploaded file (signed_id). The file's text is extracted, chunked, and embedded. Returns {document_id, status}; poll kb_get_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| config | No | ||
| metadata | No | ||
| signed_id | Yes | ||
| project_id | Yes | ||
| collection_id | Yes | ||
| document_type | No |