Say
Easily speak to your carter agent
// Assuming you have already created a Carter object called carter
const options = {
uuid: "A UNIQUE USER ID" // Optional
scene: "level-1" // Optional
}
// Send a message to your Carter agent
const interaction = await carter.say("Hello", options)
if (interaction.data) {
const replyMessage = interaction.data.output.text
const replyVoice = interaction.data.output.voice
}Last updated