add_example
Store reference images for process diagrams or CONOPS visuals by providing description, caption, and type, with optional methodology text to enhance search relevance.
Instructions
Add a reference image to the example library.
Args: description: Written description of what the image shows. image_path: Absolute or relative path to the image file. caption: The caption associated with this image. image_type: Diagram type — 'process' or 'conops'. source_context: Optional full methodology text to enrich retrieval scoring.
Returns: The unique ID assigned to the new example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | Yes | ||
| image_path | Yes | ||
| image_type | Yes | ||
| description | Yes | ||
| source_context | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |