pub struct ChoiceLogprobs {
pub content: Option<Vec<TokenLogProb>>,
pub reasoning_content: Option<Vec<TokenLogProb>>,
pub refusal: Option<Vec<TokenLogProb>>,
}
Fields§
§content: Option<Vec<TokenLogProb>>
A list of message content tokens with log probability information.
reasoning_content: Option<Vec<TokenLogProb>>
Only found in DeepSeek’s manual.
refusal: Option<Vec<TokenLogProb>>
A list of message refusal tokens with log probability information.
Trait Implementations§
Source§impl Debug for ChoiceLogprobs
impl Debug for ChoiceLogprobs
Source§impl<'de> Deserialize<'de> for ChoiceLogprobs
impl<'de> Deserialize<'de> for ChoiceLogprobs
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 Freeze for ChoiceLogprobs
impl RefUnwindSafe for ChoiceLogprobs
impl Send for ChoiceLogprobs
impl Sync for ChoiceLogprobs
impl Unpin for ChoiceLogprobs
impl UnwindSafe for ChoiceLogprobs
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