diff --git a/.castiron.stats.yml b/.castiron.stats.yml index 9cce3a2d9..35afdd754 100644 --- a/.castiron.stats.yml +++ b/.castiron.stats.yml @@ -1,7 +1,7 @@ schema_version: 1 -generation_id: 7c58a0a7-b94a-4c91-9167-abee3f35901b -openapi_spec_hash: 1ca7cc64db49a33267a95f6825c503fe -openapi_transformed_spec_hash: ef4c6563147fca1e5b6fdfebc889f207 +generation_id: 1adb5457-fc86-49c9-88a6-4b04cbd46c7d +openapi_spec_hash: 23f359a053279aa06cf55a50875608c5 +openapi_transformed_spec_hash: 7abf13f0be7d5b2a611fe52fbaf21063 config_hash: ba891e1481bb52b190c89120be41b261 -codegen_sha: 16a3a9d5a7878bae036493f3c405f5d855c894e0 -codegen_hash: 35bca918575caadcd13d640059f0eea4947e49d346e606ae8579560d9c880e96 +codegen_sha: 0b4754122b0f88542f6d618b912b73559cfd5bdd +codegen_hash: 8f41d523e20b5495b95fc9196e4cca36ca05922a6fdae42a36e139ebfa3d3526 diff --git a/api_reference/openapi.transformed.yml b/api_reference/openapi.transformed.yml index bb43cea63..0d86a98be 100644 --- a/api_reference/openapi.transformed.yml +++ b/api_reference/openapi.transformed.yml @@ -63339,7 +63339,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/openai-java-core/src/main/kotlin/com/openai/models/realtime/RealtimeAudioConfigInput.kt b/openai-java-core/src/main/kotlin/com/openai/models/realtime/RealtimeAudioConfigInput.kt index 6ee648017..683ef8ff6 100644 --- a/openai-java-core/src/main/kotlin/com/openai/models/realtime/RealtimeAudioConfigInput.kt +++ b/openai-java-core/src/main/kotlin/com/openai/models/realtime/RealtimeAudioConfigInput.kt @@ -52,7 +52,8 @@ private constructor( fun format(): Optional = format.getOptional("format") /** - * Configuration for input audio noise reduction. This can be set to `null` to turn off. Noise + * 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. @@ -217,7 +218,8 @@ private constructor( format(RealtimeAudioFormats.ofAudioPcma(audioPcma)) /** - * 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. @@ -385,7 +387,8 @@ private constructor( (turnDetection.asKnown().getOrNull()?.validity() ?: 0) /** - * Configuration for input audio noise reduction. This can be set to `null` to turn off. Noise + * 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. diff --git a/scripts/castiron/generated-files.json b/scripts/castiron/generated-files.json index 9aeffabe4..3d09f53c8 100644 --- a/scripts/castiron/generated-files.json +++ b/scripts/castiron/generated-files.json @@ -5267,7 +5267,7 @@ }, "openai-java-core/src/main/kotlin/com/openai/models/realtime/RealtimeAudioConfigInput.kt": { "mode": "100644", - "sha256": "bf403ae69b8c861f8ceb26ae86abc83650a861335e074c45bd96a1002e9577fe" + "sha256": "ef461cb44fb63dc688594943b61337294980336272b997633cefbb44dc0be954" }, "openai-java-core/src/main/kotlin/com/openai/models/realtime/RealtimeAudioConfigOutput.kt": { "mode": "100644",