pub struct Options {
pub transcription: Option<Transcription>,
pub model: Option<Model>,
pub system_prompt: Option<String>,
pub temperature: Option<f64>,
pub reasoning: bool,
pub reasoning_budget: Option<u32>,
pub regenerate: bool,
pub timeout: Option<Duration>,
}Expand description
What any operation may be told, beyond the inputs that define it.
Every member has a default, so a call that wants one thing changed says that thing and nothing else:
let options = Options {
model: Some(Model::Large),
reasoning: false,
..Default::default()
};Fields§
§transcription: Option<Transcription>Selects the reader for scanned pages; omission or Standard preserves the default.
Precise costs more and suits exact characters (codes, part numbers); text pages are unaffected.
model: Option<Model>Which size of model to run on. Unset leaves the choice to the platform.
system_prompt: Option<String>The role, or the standing instruction, the model holds for the whole task. Unset sends none.
temperature: Option<f64>How far the model may range, from 0.0 for the most settled answer to
1.0 for the most inventive. Unset leaves the model’s own default.
reasoning: boolWhether the model works the answer out step by step, and reports how. On unless you turn it off.
reasoning_budget: Option<u32>The most tokens the reasoning may spend. Unset leaves the platform’s
default, and it is read only while reasoning is on.
regenerate: boolWhether to do the work again rather than answer from a cached result for the same input, prompt, schema, model and options.
timeout: Option<Duration>How long to wait for the answer. Unset leaves the platform’s default.