generate_visualization
Create interactive HTML visualizations from extracted data using JSONL files. Highlights entities in context with color coding and hover details, ideal for analyzing large datasets.
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 |