create_knowledge_source
Creates a knowledge source for RAG content ingestion. Accepts URLs or manual text, then automatically chunks and embeds the content.
Instructions
Creates a new Cognigy.AI knowledge source for RAG content ingestion. Sources can be URLs, uploaded files, or manual text. Content is automatically chunked and embedded. MUTATING: Set dryRun=false to create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to ingest (required if type is 'url') | |
| name | Yes | Name for the knowledge source | |
| text | No | Text content to ingest (for type 'manual') | |
| type | No | Source type: 'manual' for text input, 'url' for web page | manual |
| dryRun | No | If true (default), validates without creating. Set to false to actually create. | |
| metadata | No | Custom metadata to attach to all chunks from this source | |
| description | No | Description of the source content | |
| knowledgeStoreId | Yes | The knowledge store ID to create the source in |