Struct chat_flame_backend::api::model::BestOfSequence
source · pub struct BestOfSequence {
pub finish_reason: FinishReason,
pub generated_text: String,
pub generated_tokens: i32,
pub prefill: Vec<PrefillToken>,
pub seed: Option<i64>,
pub tokens: Vec<Token>,
pub top_tokens: Vec<Vec<Token>>,
}
Fields§
§finish_reason: FinishReason
§generated_text: String
§generated_tokens: i32
§prefill: Vec<PrefillToken>
§seed: Option<i64>
§tokens: Vec<Token>
§top_tokens: Vec<Vec<Token>>
Trait Implementations§
source§impl Debug for BestOfSequence
impl Debug for BestOfSequence
source§impl<'de> Deserialize<'de> for BestOfSequence
impl<'de> Deserialize<'de> for BestOfSequence
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
source§impl Serialize for BestOfSequence
impl Serialize for BestOfSequence
Auto Trait Implementations§
impl RefUnwindSafe for BestOfSequence
impl Send for BestOfSequence
impl Sync for BestOfSequence
impl Unpin for BestOfSequence
impl UnwindSafe for BestOfSequence
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