We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1013dc7 commit 6d0bf87Copy full SHA for 6d0bf87
src/realtime/types.rs
@@ -51,8 +51,11 @@ pub enum AudioFormat {
51
52
#[derive(Debug, Serialize, Deserialize, Clone)]
53
pub struct AudioTranscription {
54
+ #[serde(skip_serializing_if = "Option::is_none")]
55
pub language: Option<String>,
56
57
pub model: Option<String>,
58
59
pub prompt: Option<String>,
60
}
61
0 commit comments