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

🌿 Bring new Fern changes to fernignored files #13

Merged
merged 3 commits into from
Feb 28, 2024

Conversation

armandobelardo
Copy link
Collaborator

This mainly updates the polling client to reflect the new enum format

README.md Outdated
@@ -59,9 +59,9 @@ You can configure the polling interval and polling timeout using these options:
transcript = client.transcripts.transcribe(
audio_url: "https://storage.googleapis.com/aai-web-samples/espn-bears.m4a",
AssemblyAI::Transcripts::PollingInterval.new(
Copy link
Collaborator

Choose a reason for hiding this comment

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

PollingInterval should be PollingOptions

transcript = client.transcripts.transcribe(
  audio_url: 'https://storage.googleapis.com/aai-web-samples/espn-bears.m4a',
  polling_options: AssemblyAI::Transcripts::PollingOptions.new(
    #  How frequently the transcript is polled in ms. Defaults to 3000.
    interval: 1000,
    #  How long to wait in ms until the 'Polling timeout' error is thrown. Defaults to infinite (-1).
    timeout: 5000,
  )
)

@armandobelardo armandobelardo merged commit 531def1 into main Feb 28, 2024
1 check passed
@armandobelardo armandobelardo deleted the fern/updateignored branch February 28, 2024 01:50
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.

None yet

2 participants