Train Knowledge Graph from Text
lyzr_kg_train_textIngest text into a v4 knowledge graph to train it with new information. Provide source, knowledge base ID, and optional metadata for structured updates.
Instructions
Ingest text into the v4 knowledge graph.
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 |