Framework to Insight
framework_to_insightFull Description
Convert structured analytical frameworks into insights.
This tool takes a pre-defined analytical framework (structured query parameters) and executes it to generate insights. Useful when you have specific query parameters rather than natural language questions.
This provides more control than natural language queries and is ideal for programmatic access or when you know exactly what data structure you need.
Parameters (4 required, 1 optional)
entitiesarrayList of entities to include in the framework
filtersFilters to apply to the framework
insightInsight to include in the framework
questionstringThe original user question that led to this framework request plus any relevant chat history context. Used to select columns to aggregate over in the final insight response.
aggregatestringAggregation type (sum, mean, count_distinct). Pass a value from the insight's known aggregate options when available. Default None is valid for insights with no aggregate options.
null