Struct chat_flame_backend::api::model::Details
source · pub struct Details {
pub best_of_sequences: Option<Vec<BestOfSequence>>,
pub finish_reason: FinishReason,
pub generated_tokens: i32,
pub prefill: Vec<PrefillToken>,
pub seed: Option<i64>,
pub tokens: Vec<Token>,
pub top_tokens: Vec<Vec<Token>>,
}
Fields§
§best_of_sequences: Option<Vec<BestOfSequence>>
§finish_reason: FinishReason
§generated_tokens: i32
§prefill: Vec<PrefillToken>
§seed: Option<i64>
§tokens: Vec<Token>
§top_tokens: Vec<Vec<Token>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Details
impl<'de> Deserialize<'de> for Details
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Details
impl Send for Details
impl Sync for Details
impl Unpin for Details
impl UnwindSafe for Details
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