Train Neo4j Knowledge Graph From File
lyzr_kg_ext_train_file_neo4jTrain a Neo4j knowledge graph by uploading a base64-encoded file and specifying the RAG ID and schema prompt for structured extraction.
Instructions
Upload a file (base64-encoded) to train the Neo4j knowledge graph (namespaced endpoint).
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 |