Interaction & Communication
enableVoiceChat
Lets users engage in real-time voice conversations with the agent instead of typing messages.
Type: boolean
Default Value: false
enableSpeechToText
Activates the microphone feature in the chat interface. When users click the mic icon, their speech is recorded and automatically transcribed into a text prompt message.
Type: boolean
Default Value: false
Example
foldspace.agent('API-KEY').setConfiguration({
enableVoiceChat: true,
enableSpeechToText: true,
});Updated 7 months ago