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

Release 3.1.1 #20

Merged
merged 2 commits into from
Nov 21, 2023
Merged

Release 3.1.1 #20

merged 2 commits into from
Nov 21, 2023

Conversation

Swimburger
Copy link
Collaborator

@Swimburger Swimburger commented Nov 21, 2023

Added

  • Add client.transcripts.transcribe function to transcribe an audio file with polling until transcript status is completed or error. This function takes an audio option which can be an audio file URL, path, stream, or buffer.
  • Add client.transcripts.submit function to queue a transcript. You can use client.transcripts.waitUntilReady to poll the transcript returned by submit. This function also takes an audio option which can be an audio file URL, path, stream, or buffer.

Changed

  • Deprecated client.transcripts.create in favor of transcribe and submit, to be more consistent with other AssemblyAI SDKs.
  • Renamed types
    • Renamed Parameters type suffix with Params type suffix
    • Renamed CreateTranscriptParameters to TranscriptParams
    • Renamed CreateTranscriptOptionalParameters to TranscriptOptionalParams.
  • Added deprecated aliases for the forementioned types
  • Improved type docs

AssemblyAI and others added 2 commits November 21, 2023 10:38
GitOrigin-RevId: ad0f6681a3644ae182616425f2040c471d8f9257
@Swimburger Swimburger merged commit 22ab44e into main Nov 21, 2023
1 check passed
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.

1 participant