Generate Ontology
mirofish_generate_ontologyGenerate an ontology from seed documents and a simulation requirement to define entity and edge types, creating a new project for document-driven simulations.
Instructions
Upload seed documents and a simulation requirement to generate an ontology (entity types and edge types). This creates a new project. Accepts PDF/MD/TXT file URLs or paths. NOTE: This endpoint expects multipart/form-data with actual file uploads — use the simulation_requirement and project_name to describe the scenario, and provide document text directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | No | Name for the new project | Unnamed Project |
| document_text | No | If you cannot upload files, provide the raw document text here. The backend will need file uploads for the actual endpoint — this is a convenience description. | |
| additional_context | No | Extra context or instructions for ontology generation | |
| simulation_requirement | Yes | Description of what you want to simulate / predict (required) |