Add response mime type to GenerationConfig

This commit is contained in:
2024-04-17 12:00:49 +01:00
parent 0e219aded0
commit 64a3f0e2c1

View File

@@ -38,6 +38,7 @@ pub struct GenerationConfig {
pub top_k: Option<i32>,
pub stop_sequences: Option<Vec<String>>,
pub candidate_count: Option<u32>,
pub response_mime_type: Option<String>,
}
#[derive(Debug, Serialize, Deserialize)]