feat(react): dictation
This PR adds support for dictation and an example with ElevenLabs Scribe v2.
[!IMPORTANT] Adds dictation support with
SpeechRecognitionAdapter, includingWebSpeechRecognitionAdapterand ElevenLabs Scribe integration, with new components and documentation updates.
- Behavior:
- Adds dictation support using
SpeechRecognitionAdapterinterface.- Introduces
WebSpeechRecognitionAdapterfor browser-based speech recognition.- Example integration with ElevenLabs Scribe for real-time transcription.
- Components:
- New components
ComposerPrimitive.Dictate,ComposerPrimitive.StopDictation, andComposerPrimitive.ListeningTranscriptfor dictation control.- Updates
ComposerPrimitive.Inputto handle input disabling during dictation.- Documentation:
- Updates
README.mdto include dictation feature.- Adds
Dictation.mdxguide and updatesComposer.mdxAPI reference.- Examples:
- Adds
with-elevenlabs-scribeexample demonstrating ElevenLabs Scribe integration.- Includes API routes for token generation and chat handling in the example.
This description was created by
for 105acdae194c9e3acf40027f16bc99b304c5406d. You can customize this summary. It will automatically update as commits are pushed.
🦋 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
@okisdev is attempting to deploy a commit to the assistant-ui Team on Vercel.
A member of the Team first needs to authorize it.
📝 Documentation updates detected!
New suggestion: Add dictation feature to navigation and API reference