#[non_exhaustive]pub struct ExecutionHints {
pub max_tokens: Option<u32>,
pub temperature: Option<f32>,
pub top_p: Option<f32>,
}Expand description
Provider-neutral execution hints.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_tokens: Option<u32>§temperature: Option<f32>§top_p: Option<f32>Trait Implementations§
Source§impl Clone for ExecutionHints
impl Clone for ExecutionHints
Source§impl Debug for ExecutionHints
impl Debug for ExecutionHints
Auto Trait Implementations§
impl Forget for ExecutionHints
impl Freeze for ExecutionHints
impl RefUnwindSafe for ExecutionHints
impl Send for ExecutionHints
impl Sync for ExecutionHints
impl Unpin for ExecutionHints
impl UnsafeUnpin for ExecutionHints
impl UnwindSafe for ExecutionHints
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