Custom Idle Messages
# support
p
Please allow adding custom idle messages or provide an option to translate them into Portuguese. I use my assistant responsively and can't add idle messages in pt-br https://cdn.discordapp.com/attachments/1407458314270412850/1407458314580922479/image.png?ex=68a62d33&is=68a4dbb3&hm=6a69e7c14bdf2a4d158ad8d9772b76e9044c43c35af29ec89de4fded0f387abd&
c
Hi TXGA, You can add custom idle messages in Portuguese by utilizing Vapi's multilingual support. Simply create a language-specific assistant or dynamically update your idle messages. Here's how you can configure it:
Copy code
typescript
const ptAssistant = await client.assistants.create({
  name: "PT Support",
  messagePlan: {
    idleMessages: [
      "Oi! Tudo bem por aí? Se quiser continuar, é só me chamar...",
      "Posso ajudar com mais alguma coisa?",
      "Estou aqui quando você quiser continuar."
    ],
    idleTimeoutSeconds: 15, // Adjust as needed
    idleMessageMaxSpokenCount: 3,
    idleMessageResetCountOnUserSpeechEnabled: true
  }
});
For detailed guidance, refer to [idle messages documentation](https://docs.vapi.ai/assistants/idle-messages).
c
Hi, yes it should stay like that. normally it would list out each message in the text box but because it is not pre-defined in our front-end the selection bubbles are empty, only having an
x
Can you try using your assistant and let me know if it’s working?
p
Yes, it's working! Thank you very much.
2 Views