async_openai/types/logprob.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Serialize, Deserialize, Clone)]
4/// Log probability information for a transcribed token.
5pub struct LogProbProperties {
6 /// The bytes that were used to generate the log probability.
7 pub bytes: Vec<u8>,
8 /// The log probability of the token.
9 pub logprob: f64,
10 /// The token that was used to generate the log probability.
11 pub token: String,
12}