Train Knowledge Graph from Text (Async)
lyzr_kg_train_text_taskIngest text into a knowledge graph asynchronously, returns a task ID to poll for completion.
Instructions
Ingest text into the v4 knowledge graph as an async task; returns a task id to poll.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to ingest | |
| rag_id | Yes | Knowledge base id | |
| source | Yes | Source label | |
| extra_info | No | Extra metadata for the text | |
| extra_fields | No | Additional body fields merged into the request | |
| schema_prompt | No | Prompt guiding graph schema extraction |