stormlog.infer.workload_report
Per-case prompt and length summaries for inference reports.
Functions
|
Prompt and output token counts of the completed requests. |
|
A text-report line for prompts other than one repeated prompt. |
|
Which prompts a case sent and how much they share. |
|
|
|
The run's workload record, or None for artifacts written before it. |
- stormlog.infer.workload_report.prompt_summary(requests, window)[source]
Which prompts a case sent and how much they share.
- Parameters:
requests (list[dict[str, Any]])
window (dict[str, Any] | None)
- Return type:
dict[str, Any]
- stormlog.infer.workload_report.prompt_lines(prompts)[source]
A text-report line for prompts other than one repeated prompt.
- Parameters:
prompts (Any)
- Return type:
list[str]
- stormlog.infer.workload_report.length_summary(requests)[source]
Prompt and output token counts of the completed requests.
- Parameters:
requests (list[dict[str, Any]])
- Return type:
dict[str, Any]