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

feat: Record and send audio via Chrome microphone #1996

Merged
merged 26 commits into from
Jan 15, 2025

Conversation

namanagar
Copy link
Contributor

@namanagar namanagar commented Jan 13, 2025

Fixes FER-3984

Short description of the changes made

Adds hook for audio recording logic + UI to handle both base64 raw audio & audio file upload cases

What was the motivation & context behind this PR?

Makes playground more intuitive for AI audio use cases

How has this PR been tested?

Demo

Screen.Recording.2025-01-14.at.2.11.12.PM.mov

Caveats

  • has not been tested against deeply nested base64 audio inputs (probably not an issue...?)
  • currently only records/sends webm audio

Copy link

vercel bot commented Jan 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
rbac.ferndocs.com ❌ Failed (Inspect) Jan 13, 2025 8:20pm
1 Skipped Deployment
Name Status Preview Updated (UTC)
fern-shell ⬜️ Ignored (Inspect) Jan 13, 2025 8:20pm

Copy link

github-actions bot commented Jan 13, 2025

📦 Next.js Bundle Analysis for fern-platform-monorepo

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link

github-actions bot commented Jan 13, 2025

PR Preview

Copy link

github-actions bot commented Jan 13, 2025

Playwright test results

passed  98 passed
flaky  1 flaky
skipped  2 skipped

Details

stats  101 tests across 9 suites
duration  1 minute, 39 seconds
commit  f93ad11

Flaky tests

chromium › smoke/favicon.spec.ts › Check if favicon exists and URL does not return 404 for docs.cohere.com

Skipped tests

chromium › posthog.spec.ts › Posthog loads successfully
chromium › websockets/websocket.spec.ts › websocket test

Copy link

Copy link

@namanagar namanagar enabled auto-merge (squash) January 15, 2025 01:23
Copy link

Copy link

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.

4 participants