Nashara
03/13/2025, 3:56 PMVapi Support Bot
03/13/2025, 3:57 PMjson
{
"variables": [
{
"name": "IsAffirmative",
"description": "Capture if the user agrees (yes) or disagrees (no).",
"dataType": "boolean",
"required": true
},
{
"name": "SpecificQuestion",
"description": "The specific question asked by the user.",
"dataType": "string",
"required": true
}
]
}
2. Increase wait times to ensure short responses like "yes" or "no" are properly detected. Consider setting the waitSeconds
to 0.8 or 1.0 [in your configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333067714729607228).
3. Improve your prompt design to clearly ask for both pieces of information:
"Est-ce qu'il y a des questions particulières sur la propriété que vous aimeriez aborder pour votre prochain appel avec Nassim? Si oui, quelle est votre question?"
4. Enable smart endpointing to help the system better understand when a user has finished speaking, particularly important when capturing multiple responses [in sequence](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334227091168310275).
Some users have reported that conversations can end unexpectedly after tool calls, which might be related to your issue. The effectiveness of capturing short responses like "yes" or "no" can also depend on the voice recognition model you're using.
Let me know if these suggestions help or if you need further assistance!
Sources:Vapi Support Bot
03/13/2025, 3:57 PMNashara
03/13/2025, 6:07 PMNashara
03/13/2025, 6:09 PMKings Big
03/15/2025, 1:44 PM