tsyrya.
12/11/2024, 11:13 AMVapi
12/11/2024, 11:16 AMVapi
12/11/2024, 11:16 AMVapi
12/11/2024, 11:16 AMtsyrya.
12/11/2024, 11:41 AMtsyrya.
12/11/2024, 2:23 PMVapi
12/11/2024, 2:23 PMtsyrya.
12/11/2024, 2:26 PMtsyrya.
12/12/2024, 2:44 AMtsyrya.
12/12/2024, 2:45 AMVapi
12/12/2024, 2:45 AMmodelOutputInMessagesEnabled
parameter to false. This parameter typically controls whether the bot's speech recognition model outputs are included in the message transcripts. When set to true, it might cause the transcription service to include additional recognition results, which could lead to duplicates if the system misinterprets the first message as being spoken twice.
By setting modelOutputInMessagesEnabled
to false, you're likely preventing the speech recognition model from adding its output to the messages, which can help avoid the duplication issue in the transcript. It's important to note that this setting should be used carefully, as it may also filter out other model outputs that could be useful for debugging or understanding user interactions.
If you need a more detailed explanation or further assistance, please let me know, and I can look into it or direct you to additional support resources.tsyrya.
12/12/2024, 2:51 AM"Hi! Hello! How can I help you? Hi. Hello. How can I help you?".
you can see that it goes twice. But the bot actually says it once, why does it work it this way if modelOutputInMessagesEnabled is true?tsyrya.
12/12/2024, 2:51 AMram_vapi
12/12/2024, 4:24 AM"firstMessage": "Hi! Hello! How can I help you?",
As you can see if you set the parameter modelOutputInMessagesEnabled
to true
then it will use the model's output in the conversation history instead of the raw transcription. If you set that to false
the assistant should behave in the way you are expecting, where the first line of transcription will be spoken verbatim. Here is a link to the docs that might help clarify the modelOutputInMessagesEnabled
parameter: https://docs.vapi.ai/api-reference/assistants/createtsyrya.
12/12/2024, 4:55 AMShubham Bajaj
12/12/2024, 11:33 AMtsyrya.
12/12/2024, 11:35 AMShubham Bajaj
12/12/2024, 1:43 PMtsyrya.
12/12/2024, 1:50 PMtsyrya.
12/12/2024, 2:10 PMbryant
12/12/2024, 2:11 PMtsyrya.
12/12/2024, 2:24 PMShubham Bajaj
12/14/2024, 5:17 AM