Ingest Document Into Knowledge Base
knowledge_ingestIngest a document into a knowledge base: it is chunked, embedded and stored for you (managed RAG).
Args: namespace: The knowledge-base namespace. text: The document text. title: Optional title.
Returns: dict with keys: doc_id (str), n_chunks (int).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The document text to ingest | |
| title | No | Optional title for the document | |
| namespace | Yes | The knowledge-base namespace to ingest into (alphanumeric/hyphen) |