AiSpeechButton
Speech Button
Speech-to-text button for dictating into the prompt.
Uses the browser Web Speech API (Chrome/Safari).
Usage
<AiPromptInput v-model="input">
<template #actions>
<AiSpeechButton @result="(t) => input += t" />
</template>
</AiPromptInput>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| language | string | 'en-US' | — |
| continuous | boolean | false | — |
| interimResults | boolean | true | — |
| disabled | boolean | false | — |
Events
| Event | Payload |
|---|---|
| @result | transcript: string, isFinal: boolean |
| @start | — |
| @stop | — |
| @error | string |
Slots
defaulticon