Train Neo4j Knowledge Graph From Text
lyzr_kg_ext_train_text_neo4jIngest text into a Neo4j knowledge graph to train a RAG system, specifying source, schema, and metadata for structured extraction.
Instructions
Ingest text into the Neo4j knowledge graph (namespaced endpoint).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>",
"source": "<source>",
"rag_id": "<rag_id>"
},
"name": "lyzr_kg_ext_train_text_neo4j"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text content to ingest | |
| rag_id | Yes | The ID of the RAG system to train | |
| source | Yes | Source label for the ingested text | |
| extra_info | No | Extra metadata to attach to the ingested text | |
| extra_fields | No | Any additional fields merged into the request body | |
| schema_prompt | No | Allowed nodes and relationships for the knowledge graph |