use std::collections::HashMap; use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Serialize, Deserialize)] pub struct ZeroShotClassificationRequest { pub input: String, pub labels: Vec, pub model: String, } #[derive(Debug, Clone, Serialize, Deserialize)] pub struct ZeroShotClassificationResponse { pub predicted_class: String, pub predicted_class_score: f64, pub scores: HashMap, pub model: String, }