pub struct ModelResponseProperties {
pub metadata: Option<Metadata>,
pub temperature: Option<f64>,
pub top_p: Option<f64>,
pub user: Option<String>,
pub service_tier: Option<ServiceTier>,
}
Fields§
§metadata: Option<Metadata>
§temperature: Option<f64>
What sampling temperature to use, between 0 and 2.
top_p: Option<f64>
An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
user: Option<String>
A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.
service_tier: Option<ServiceTier>
Trait Implementations§
Source§impl Clone for ModelResponseProperties
impl Clone for ModelResponseProperties
Source§fn clone(&self) -> ModelResponseProperties
fn clone(&self) -> ModelResponseProperties
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ModelResponseProperties
impl Debug for ModelResponseProperties
Source§impl Default for ModelResponseProperties
impl Default for ModelResponseProperties
Source§fn default() -> ModelResponseProperties
fn default() -> ModelResponseProperties
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModelResponseProperties
impl RefUnwindSafe for ModelResponseProperties
impl Send for ModelResponseProperties
impl Sync for ModelResponseProperties
impl Unpin for ModelResponseProperties
impl UnwindSafe for ModelResponseProperties
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