Train Knowledge Graph From File
lyzr_kg_ext_train_fileUpload a base64-encoded file to train a Neo4j knowledge graph. Provide the RAG ID, filename, and schema prompt to define allowed nodes and relationships.
Instructions
Upload a file (base64-encoded) to train the Neo4j knowledge graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rag_id | Yes | The ID of the RAG system to train | |
| filename | Yes | Filename to associate with the upload | |
| mime_type | No | MIME type of the file (optional) | |
| extra_info | No | Extra info as a JSON string (default "{}") | |
| schema_prompt | No | Allowed nodes and relationships for the knowledge graph | |
| file_content_base64 | Yes | Base64-encoded content of the file to train on |