Add response mime type to GenerationConfig
This commit is contained in:
@@ -38,6 +38,7 @@ pub struct GenerationConfig {
|
|||||||
pub top_k: Option<i32>,
|
pub top_k: Option<i32>,
|
||||||
pub stop_sequences: Option<Vec<String>>,
|
pub stop_sequences: Option<Vec<String>>,
|
||||||
pub candidate_count: Option<u32>,
|
pub candidate_count: Option<u32>,
|
||||||
|
pub response_mime_type: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
|
|||||||
Reference in New Issue
Block a user