Issue with Assistant Not Speaking Input Parameters...
# support
s
I'm encountering a strange issue with the assistant. Although I am correctly providing all the input parameters under the assistant options, the assistant is not prompting them properly. Instead of asking in the expected format like: "One: Username of the user, Two: Email of the user" It is just saying: "One, Two" This is causing confusion for the end users. Kindly refer to the below call ID for debugging this issue: Call ID:
ca437892-4a12-40b5-adc4-56aca5872747
Please look into this and let me know if there's anything I need to modify on my end, or if this requires a fix from your side.
v
Hi there! 👋 I understand you're having an issue with your Vapi assistant not properly prompting for input parameters. While I can't directly access the specific call details for the ID you provided, I can definitely help you troubleshoot this issue based on the information available. ## Possible Causes This issue could be happening for several reasons: 1. **Prompt Configuration**: According to the [Voice AI Prompting Guide](https://docs.vapi.ai/prompting-guide), the way you structure your system prompt significantly impacts how the assistant formats its responses. Your prompt might need more explicit instructions on how to present the parameters. 2. **System Prompt Issues**: The information found suggests that "you may include the information in a distinct section within your prompt, or alternatively, you may add another system message to serve as a response generation boundary or context, guiding the assistant to utilize it while taking the context into account." 3. **Assistant Configuration**: There might be an issue with how the assistant is configured to handle input parameters. The assistant might not be using the correct configuration defined in the Vapi dashboard. ## Debugging Steps To debug this issue using your call ID: 1. Go to the [Vapi Dashboard](https://dashboard.vapi.ai/calls), navigate to Logs > Calls, and look up your call ID (
ca437892-4a12-40b5-adc4-56aca5872747
). 2. Review the logs associated with this call to gain insights into the prompting behavior. 3. Check if there are any clues in the logs as to why the assistant is not formatting the parameters correctly. ## Recommended Modifications Here are some modifications you can try: 1. **Update Your System Prompt**: Explicitly instruct the assistant on how to format parameter prompts. For example:
Copy code
When asking for input parameters, always list them with their descriptions like:
   "One: [description of first parameter], Two: [description of second parameter]"
2. **Use Dynamic Variables**: According to the [Dynamic Variables documentation](https://docs.vapi.ai/assistants/dynamic-variables), you can use templates with double curly braces
{{variableName}}
to better control how parameters are presented. 3. **Apply Prompt Engineering Strategies**: Organize your prompts with distinct sections for each parameter and break down complex questions into simpler, step-by-step instructions. 4. **Check Configuration**: Ensure that the assistant ID is correctly set on your phone number and that you've included the "provider" field in your assistant overrides (set to "openai"). Would you like me to provide more specific guidance on any of these areas, or do you have any other questions about resolving this issue? Sources: - [Voice AI Prompting Guide](https://docs.vapi.ai/prompting-guide) - [Dynamic Variables documentation](https://docs.vapi.ai/assistants/dynamic-variables)
p
Hey @sahil, checking if this is resolved for you.
s
this is still unsolved but ya i have another ticket also which is the same issue so we can maybe close this and track the other one only
p
Hey Sahil, We apply LLM formatting utilities to the LLM output before sending it to the voice provider. In your case, the LLM output is within asterisks, and any content is trimmed. That's why you feel your output is missing. To fix this, toggle the utility functions in your assistant voice formatting plan, after that it will work as expected. https://cdn.discordapp.com/attachments/1353706043120685056/1355552044852711545/extract-2025-03-29T14_35_11.379Z.csv?ex=67e957b8&is=67e80638&hm=14b3c7e3b3292f953eadda95cb3bf0c04abec8478808e01c8adefee8c7acd2db&
s
@Shubham Bajaj Thanks for deeply investigating and addressing the issue. Will do the same and let you know