Expand description
Request and response types for the four AI interaction modes defined in §17.8: Generate, Repair, Optimize, and Select.
All confidence values are f64 in the range 0.0..=1.0 (see §17.4).
Providers are expected to populate reasoning and alternatives where
feasible so that decision manifest entries can be constructed from a
response without a second provider round-trip.
Structs§
- Alternative
- An alternative considered by the provider but not chosen.
- Candidate
Rule - Candidate codegen rule emitted by a successful
repairresponse. - Decision
Ref - Reference to a prior decision that should bias the current call.
- Generate
Request - Input to
AiProvider::generate. - Generate
Response - Response from
AiProvider::generate. - Module
Context - Per-module context fed to generation/repair/optimize calls.
- Optimize
Request - Input to
AiProvider::optimize. - Optimize
Response - Response from
AiProvider::optimize. - Repair
Request - Input to
AiProvider::repair. - Repair
Response - Response from
AiProvider::repair. - Select
Context - Context supplied alongside the option set for a
select()call. - Select
Option - A single option in a closed-set selection.
- Select
Request - Input to
AiProvider::select. - Select
Response - Response from
AiProvider::select. - Target
Profile - Minimal target profile view consumed by the provider interface.
Enums§
- Optimization
Hint - Hints for the optimization pass (Tier 3).