upload_and_generate_prompt
Upload an aviation accident report (PDF, DOCX, TXT), parse its content, and generate a prompt using a template for knowledge graph extraction.
Instructions
Upload an aviation accident report (PDF, DOCX, TXT), parse it, and wrap it in a specified prompt template.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the document file. | |
| template_name | No | Name of the template in the prompts/ directory (e.g., 'extract_entities'). | extract_entities |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |