Skip to content

Adding OpenAPI support for Transcriptions and Translations#110

Merged
rishabh-bhargava merged 2 commits intomainfrom
transcriptions-support
Jul 8, 2025
Merged

Adding OpenAPI support for Transcriptions and Translations#110
rishabh-bhargava merged 2 commits intomainfrom
transcriptions-support

Conversation

@rishabh-bhargava
Copy link
Copy Markdown
Contributor

Comment thread openapi.yaml
$ref: '#/components/schemas/ErrorData'
/audio/transcriptions:
post:
tags: ['Audio', 'Transcribe']
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Nutlope - do you know what is the purpose of this tag?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just metadata to give more context! Doesn't affect the API at all

Comment thread openapi.yaml Outdated
- openai/whisper-large-v3
language:
type: string
description: Optional ISO 639-1 language code. If omitted, language is auto-detected.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If omitted, defaults to English

@rishabh-bhargava
Copy link
Copy Markdown
Contributor Author

@Nutlope - going to merge this in, but if you have any comments/feedback, please leave it here and I'll follow up with another PR.

@rishabh-bhargava rishabh-bhargava merged commit 353bd62 into main Jul 8, 2025
2 checks passed
@rishabh-bhargava rishabh-bhargava deleted the transcriptions-support branch July 8, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants