Schemas
AgentResponse
Bases: BaseModel
Standardized response format returned by the SRAG Agent.
Attributes:
| Name | Type | Description |
|---|---|---|
response |
str
|
The full analytical report generated by the LLM in Markdown format. |
plots |
list[str]
|
A list of relative filenames (e.g., |
execution_time |
float
|
Total time taken (in seconds) to generate the report. |
Source code in api/src/schemas.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | |
ReportRequest
Bases: BaseModel
Request payload for generating the standardized SRAG report.
Attributes:
| Name | Type | Description |
|---|---|---|
focus_area |
str | None
|
Optional context to refine the report's analysis.
Example: 'Analyze H3N2 variant impact' or 'Focus on pediatric ICU trends'.
Defaults to |
Source code in api/src/schemas.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |