Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .castiron.stats.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion api_reference/openapi.transformed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions scripts/castiron/generated-files.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
19 changes: 10 additions & 9 deletions src/openai/types/realtime/realtime_audio_config_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand All @@ -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
Expand Down
19 changes: 10 additions & 9 deletions src/openai/types/realtime/realtime_audio_config_input_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand All @@ -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
Expand Down
Loading