Struct async_openai::types::CategoryScore
source · pub struct CategoryScore {
pub hate: f32,
pub hate_threatening: f32,
pub self_harm: f32,
pub sexual: f32,
pub sexual_minors: f32,
pub violence: f32,
pub violence_graphic: f32,
}
Fields§
§hate: f32
§hate_threatening: f32
§self_harm: f32
§sexual: f32
§sexual_minors: f32
§violence: f32
§violence_graphic: f32
Trait Implementations§
source§impl Debug for CategoryScore
impl Debug for CategoryScore
source§impl<'de> Deserialize<'de> for CategoryScore
impl<'de> Deserialize<'de> for CategoryScore
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