types
ipw.core.types
¶
ChatUsage
dataclass
¶
Response
dataclass
¶
Canonical chat completion response.
Source code in intelligence-per-watt/src/ipw/core/types.py
DatasetRecord
dataclass
¶
Normalized dataset entry consumed by the profiling runner.
Source code in intelligence-per-watt/src/ipw/core/types.py
ProfilerConfig
dataclass
¶
Configuration payload for the profiling runner.
Source code in intelligence-per-watt/src/ipw/core/types.py
SystemInfo
dataclass
¶
System metadata mirrored from the energy monitor proto.
Source code in intelligence-per-watt/src/ipw/core/types.py
GpuInfo
dataclass
¶
GPU metadata mirrored from the energy monitor proto.
Source code in intelligence-per-watt/src/ipw/core/types.py
TelemetryReading
dataclass
¶
Field names and semantics match energy-monitor/proto/energy.proto.
The Rust service publishes -1 or 0 for unavailable metrics; Python callers
may additionally use None to indicate a missing reading.
Source code in intelligence-per-watt/src/ipw/core/types.py
AgentRunResult
dataclass
¶
Result from an agent run, capturing cost and tool-use telemetry.