VoiceConsoleProps
@gravity-rail/react / VoiceConsoleProps
Interface: VoiceConsoleProps
Extends
Properties
agentLabel?
optionalagentLabel:string
Name to show for the agent's turns (default "Agent").
className?
optionalclassName:string
emptyHint?
optionalemptyHint:string
Placeholder shown before any speech is transcribed.
label?
optionallabel:string
Label for the start button when idle.
onTranscript()?
optionalonTranscript: (entry) =>void
Called for each finished transcript turn (caller or agent).
Parameters
entry
Returns
void
Inherited from
title?
optionaltitle:string
Heading shown above the transcript.
workflowId?
optionalworkflowId:number
Override the workflow the voice chat runs (defaults to the site default).
Inherited from
youLabel?
optionalyouLabel:string
Name to show for the caller's turns (default "You").