You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
Regenerates the Python SDK from the latest OpenAPI input for the audio
upload documentation change.
- Clarifies that transcription and translation uploads must include
enough metadata for the file format to be identified.
- Recommends an extension-bearing filename and an appropriate content
type.
- Updates generated resource docstrings, request parameter docs, the
transformed OpenAPI document, and Castiron provenance.
This is documentation-only; runtime behavior and exported type shapes
are unchanged.
## Source
- Originating API change:
[openai/openai#1270941](openai/openai#1270941)
- OpenAPI input:
[openai/openai-openapi@577fa922](openai/openai-openapi@577fa92)
## Validation
- Rebased directly onto the current public `main`
- Every changed file matches the Castiron-generated candidate
- `git diff --check`
- `./scripts/lint`
- Thermo-nuclear code-quality review
Copy file name to clipboardExpand all lines: api_reference/openapi.transformed.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34062,6 +34062,7 @@ components:
34062
34062
file:
34063
34063
description: |
34064
34064
The audio file object (not file name) to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.
34065
+
The request must include enough format metadata for the file to be identified. We recommend an extension-bearing filename and an appropriate content type.
34065
34066
type: string
34066
34067
x-oaiTypeLabel: file
34067
34068
format: binary
@@ -34369,7 +34370,7 @@ components:
34369
34370
properties:
34370
34371
file:
34371
34372
description: |
34372
-
The audio file object (not file name) translate, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.
34373
+
The audio file object (not file name) translate, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. The request must include enough format metadata for the file to be identified. We recommend an extension-bearing filename and an appropriate content type.
0 commit comments