Signal Evaluation
API reference for sovai.extensions.signal_evaluation
Last updated
def enrich_figure_with_llm_metadata(
fig,
title: Optional[str] = None,
description: Optional[str] = None,
key_stats: Optional[Dict[str, Any]] = None,
downsample: bool = False,
target_points: int = 768,
include_image_export: bool = True,
image_format: str = 'png',
image_width: int = 1600,
image_height: int = 900,
image_scale: int = 2,
category: str = 'signal_evaluation',
) -> Nonedef export_figure_for_llm(
fig,
include_image: bool = True,
image_format: str = 'png',
return_base64: bool = True,
) -> Dict[str, Any]