Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transcription response should also have text/plain content type #361

Open
atacan opened this issue Oct 28, 2024 · 0 comments
Open

transcription response should also have text/plain content type #361

atacan opened this issue Oct 28, 2024 · 0 comments

Comments

@atacan
Copy link

atacan commented Oct 28, 2024

the transcription response should also have text/plain content type for art, vtt, and text response_formats.

the last 3 lines should be added.

  /audio/transcriptions:
    post:
      operationId: createTranscription
      tags:
        - Audio
      summary: Transcribes audio into the input language.
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: "#/components/schemas/CreateTranscriptionRequest"
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: "#/components/schemas/CreateTranscriptionResponseVerboseJson"
                  - $ref: "#/components/schemas/CreateTranscriptionResponseJson"
            text/plain:
              schema:
                type: string
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

No branches or pull requests

1 participant