generate_visualization
Create interactive HTML visualizations to highlight extracted entities from text, featuring color coding and hover details for easy analysis. Input JSONL file for immediate, self-contained outputs.
Instructions
Generate interactive HTML visualization from extraction results.
Creates an interactive HTML file that shows extracted entities highlighted in their original text context. The visualization is self-contained and can handle thousands of entities with color coding and hover details.
Args: jsonl_file_path: Path to the JSONL file containing extraction results output_html_path: Optional path for the HTML output (default: auto-generated)
Returns: Dictionary with HTML file path and generation details
Raises: ToolError: If visualization generation fails
Input Schema
Name | Required | Description | Default |
---|---|---|---|
jsonl_file_path | Yes | ||
output_html_path | No |