diff --git a/.castiron.stats.yml b/.castiron.stats.yml index f4ae54d3fc..44b0711e96 100644 --- a/.castiron.stats.yml +++ b/.castiron.stats.yml @@ -1,7 +1,7 @@ schema_version: 1 -generation_id: d9049969-0cf9-4f87-9dd7-5fed0bfc68d9 -openapi_spec_hash: c5f2eb15c3e629a8cad937c0e73c3402 -openapi_transformed_spec_hash: be45f3f62fd3c06b3985fe5f702f0f1b +generation_id: bffd8e2f-b304-4441-95e9-c5589462fd88 +openapi_spec_hash: 8ab963813bdcf6ea8b04d9a14c1903c8 +openapi_transformed_spec_hash: 543c09b4b1af07cb5180e0367554ff77 config_hash: 98b84a99474d4d011c1aaa92435f067a -codegen_sha: 17e42a236316c86c457d091208ab4e37364c54a3 -codegen_hash: ff9f9c99cf94217f67d19ec0da11288c9c94c3d436b70d47bfc2a05fa7d069e5 +codegen_sha: 13da5ceb6a92d33339bc00662b09d7940de5683f +codegen_hash: 4b5ad00e7cce820b33216741c133d64ac16c8ca6fda10f29974b43f28443a7e9 diff --git a/api_reference/openapi.transformed.yml b/api_reference/openapi.transformed.yml index e702588366..a3dd9004ec 100644 --- a/api_reference/openapi.transformed.yml +++ b/api_reference/openapi.transformed.yml @@ -63357,7 +63357,8 @@ components: strength: $ref: '#/components/schemas/RealtimeNoiseReductionStrength' description: | - Configuration for input audio noise reduction. This can be set to `null` to turn off. + When you supply a `noise_reduction` object, you must set `type` to `near_field` or `far_field`. + Set `noise_reduction` to `null` to turn off input audio noise reduction. Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model. Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio. turn_detection: diff --git a/scripts/castiron/generated-files.json b/scripts/castiron/generated-files.json index 549b81edf1..25d086342f 100644 --- a/scripts/castiron/generated-files.json +++ b/scripts/castiron/generated-files.json @@ -5423,11 +5423,11 @@ }, "src/openai/types/realtime/realtime_audio_config_input.py": { "mode": "100644", - "sha256": "5ffafdd1d8d7e04c8b9a46c54444496944c8c7055d766c51e18b8929b35fb5ab" + "sha256": "72492757c43223ba28a596025d8eaed2199528e3e46b4021f07171d36a7769b2" }, "src/openai/types/realtime/realtime_audio_config_input_param.py": { "mode": "100644", - "sha256": "dc9f18cbc51e5dd6ab035550cb4193432b7b9b9cd680dd728247b0bef9f38b1b" + "sha256": "92fcc9a66e58152dcfac8ff124e1172d9cb7260a95cb38caf373a3ca43d14984" }, "src/openai/types/realtime/realtime_audio_config_output.py": { "mode": "100644", diff --git a/src/openai/types/realtime/realtime_audio_config_input.py b/src/openai/types/realtime/realtime_audio_config_input.py index 8d2163f3cf..7493c717cb 100644 --- a/src/openai/types/realtime/realtime_audio_config_input.py +++ b/src/openai/types/realtime/realtime_audio_config_input.py @@ -12,9 +12,9 @@ class NoiseReduction(BaseModel): - """Configuration for input audio noise reduction. - - This can be set to `null` to turn off. + """ + When you supply a `noise_reduction` object, you must set `type` to `near_field` or `far_field`. + Set `noise_reduction` to `null` to turn off input audio noise reduction. Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model. Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio. """ @@ -40,12 +40,13 @@ class RealtimeAudioConfigInput(BaseModel): """The format of the input audio.""" noise_reduction: Optional[NoiseReduction] = None - """Configuration for input audio noise reduction. - - This can be set to `null` to turn off. Noise reduction filters audio added to - the input audio buffer before it is sent to VAD and the model. Filtering the - audio can improve VAD and turn detection accuracy (reducing false positives) and - model performance by improving perception of the input audio. + """ + When you supply a `noise_reduction` object, you must set `type` to `near_field` + or `far_field`. Set `noise_reduction` to `null` to turn off input audio noise + reduction. Noise reduction filters audio added to the input audio buffer before + it is sent to VAD and the model. Filtering the audio can improve VAD and turn + detection accuracy (reducing false positives) and model performance by improving + perception of the input audio. """ transcription: Optional[AudioTranscription] = None diff --git a/src/openai/types/realtime/realtime_audio_config_input_param.py b/src/openai/types/realtime/realtime_audio_config_input_param.py index 3e089bb7d2..f27239668f 100644 --- a/src/openai/types/realtime/realtime_audio_config_input_param.py +++ b/src/openai/types/realtime/realtime_audio_config_input_param.py @@ -14,9 +14,9 @@ class NoiseReduction(TypedDict, total=False): - """Configuration for input audio noise reduction. - - This can be set to `null` to turn off. + """ + When you supply a `noise_reduction` object, you must set `type` to `near_field` or `far_field`. + Set `noise_reduction` to `null` to turn off input audio noise reduction. Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model. Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio. """ @@ -42,12 +42,13 @@ class RealtimeAudioConfigInputParam(TypedDict, total=False): """The format of the input audio.""" noise_reduction: NoiseReduction - """Configuration for input audio noise reduction. - - This can be set to `null` to turn off. Noise reduction filters audio added to - the input audio buffer before it is sent to VAD and the model. Filtering the - audio can improve VAD and turn detection accuracy (reducing false positives) and - model performance by improving perception of the input audio. + """ + When you supply a `noise_reduction` object, you must set `type` to `near_field` + or `far_field`. Set `noise_reduction` to `null` to turn off input audio noise + reduction. Noise reduction filters audio added to the input audio buffer before + it is sent to VAD and the model. Filtering the audio can improve VAD and turn + detection accuracy (reducing false positives) and model performance by improving + perception of the input audio. """ transcription: AudioTranscriptionParam