- Introduced a new `/analyze` endpoint in the analyst API to process analysis requests, allowing users to receive textual interpretations and chart specifications based on provided prompts. - Enhanced `analyst_schemas.py` with `AnalyzeRequest` and `ChartSpec` models to structure analysis requests and validate chart specifications. - Implemented chart validation logic in a new `analyst_chart.py` service, ensuring that chart types and fields are correctly specified and conform to allowed values. - Updated `AnalystAgent` to handle analysis requests, integrating the new logic for generating responses based on user prompts and data availability. - Added unit tests to verify the functionality of the new endpoint and validation mechanisms, ensuring robustness and reliability. This update significantly enhances the analytical capabilities of the application, providing users with improved tools for data interpretation and visualization.
15 lines
224 B
JSON
15 lines
224 B
JSON
{
|
|
"total": 30,
|
|
"passed": 30,
|
|
"failed": 0,
|
|
"gaps": 0,
|
|
"elapsed_ms": 1479,
|
|
"throughput_per_second": 20.284,
|
|
"concurrency": 1,
|
|
"repeat": 1,
|
|
"pressure": {
|
|
"p50_ms": 0,
|
|
"p95_ms": 0,
|
|
"p99_ms": 0
|
|
}
|
|
} |