Expand description
Typed, in-process intelligence operations for Kennedy.
This crate has no HTTP router, health endpoint, provider catalog, or JSON request dispatch. Callers choose exact models and bind every provider call to a user before invoking it.
Structs§
- Agent
Turn - Annotation
Request - Annotation
Response - Config
- Construction inputs for the intelligence library.
- Daily
Usage - Totals calculated by opening every receipt for the requested UTC day.
- Daily
Usage Key - One grouping key in a linearly calculated daily report.
- Document
- Document
Extraction - Error
- A bounded, transport-independent intelligence failure.
- Fetch
Request - Fetch
Response - Intelligence
- Media
- Runtime
Model - The configured Kennedy model, returned directly instead of through a catalog endpoint.
- Search
Request - Search
Response - Structured
Audio Request - One structured Gemini audio call with exact model and accounting attribution.
- Structured
Audio Response - Text
Generation Request - One tool-free Codex text generation call.
- Text
Generation Response - Token
Usage - The four token categories Kennedy accounts independently.
- Transcription
Request - Transcription
Response - Usage
Receipt - Durable evidence for one completed provider call.
- User
Intelligence - An intelligence handle that cannot make a provider call without user attribution.
- WebSource
Enums§
- Error
Kind - Broad failure category for callers that need to choose retry or user feedback.
- Media
Kind - Metering
- Provider metering returned by one call.
- Reasoning
Effort - Maximum model reasoning effort.