pub struct TranscribePagesOptions {
pub transcription: Option<Transcription>,
pub regenerate: bool,
pub timeout: Option<Duration>,
}Expand description
What transcribe_pages may be told, beyond the PDF and the pages.
There is no prompt, model or reasoning switch, which is why this is not
Options: the instructions are the platform’s, and every page is read at
the platform’s own accuracy-first effort.
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.
regenerate: boolWhether to run the operation again rather than answer from its kept result. A page already read is still served from its kept read, which is tied to this version of the file and to the platform’s instructions.
timeout: Option<Duration>How long to wait for the answer. Unset leaves the platform’s default.
Trait Implementations§
Source§impl Clone for TranscribePagesOptions
impl Clone for TranscribePagesOptions
Source§impl Debug for TranscribePagesOptions
impl Debug for TranscribePagesOptions
Auto Trait Implementations§
impl Freeze for TranscribePagesOptions
impl RefUnwindSafe for TranscribePagesOptions
impl Send for TranscribePagesOptions
impl Sync for TranscribePagesOptions
impl Unpin for TranscribePagesOptions
impl UnsafeUnpin for TranscribePagesOptions
impl UnwindSafe for TranscribePagesOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more