add_text_document
Add text as a new document to a Knowledge Agent you own, splitting it into passages and storing source details for citations.
Instructions
Add text to a Knowledge Agent you own, as a new document that keeps its source.
The text is split into passages and can be asked about at once. The source details are stored with every passage, for citations.
Args: agent_id: ID of a Knowledge Agent you own. title: Document title, shown in citations. text: The text to add. source_url: URL of the original source. author: Author of the original source. timestamp: ISO 8601 date when the source was published or created. source_type: Kind of source, for example "web", "note", "transcript" or "email".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| title | Yes | ||
| author | No | ||
| agent_id | Yes | ||
| timestamp | No | ||
| source_url | No | ||
| source_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||