assistant-ui icon indicating copy to clipboard operation
assistant-ui copied to clipboard

feat(react): dictation

Open okisdev opened this issue 3 weeks ago • 4 comments

This PR adds support for dictation and an example with ElevenLabs Scribe v2.


[!IMPORTANT] Adds dictation support with SpeechRecognitionAdapter, including WebSpeechRecognitionAdapter and ElevenLabs Scribe integration, with new components and documentation updates.

  • Behavior:
    • Adds dictation support using SpeechRecognitionAdapter interface.
    • Introduces WebSpeechRecognitionAdapter for browser-based speech recognition.
    • Example integration with ElevenLabs Scribe for real-time transcription.
  • Components:
    • New components ComposerPrimitive.Dictate, ComposerPrimitive.StopDictation, and ComposerPrimitive.ListeningTranscript for dictation control.
    • Updates ComposerPrimitive.Input to handle input disabling during dictation.
  • Documentation:
    • Updates README.md to include dictation feature.
    • Adds Dictation.mdx guide and updates Composer.mdx API reference.
  • Examples:
    • Adds with-elevenlabs-scribe example demonstrating ElevenLabs Scribe integration.
    • Includes API routes for token generation and chat handling in the example.

This description was created by Ellipsis for 105acdae194c9e3acf40027f16bc99b304c5406d. You can customize this summary. It will automatically update as commits are pushed.

okisdev avatar Nov 26 '25 13:11 okisdev

🦋 Changeset detected

Latest commit: d0f9be00c2557fad05b754d26214d1318c0c0157

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@assistant-ui/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Nov 26 '25 13:11 changeset-bot[bot]

@okisdev is attempting to deploy a commit to the assistant-ui Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Nov 26 '25 13:11 vercel[bot]

Claude encountered an error —— View job


I'll analyze this and get back to you.

github-actions[bot] avatar Nov 29 '25 02:11 github-actions[bot]

📝 Documentation updates detected!

New suggestion: Add dictation feature to navigation and API reference

promptless[bot] avatar Nov 29 '25 02:11 promptless[bot]

Claude encountered an error —— View job


I'll analyze this and get back to you.

github-actions[bot] avatar Dec 02 '25 02:12 github-actions[bot]