Stuck in tools Call
# support
g
Hello, I am stuck, Like I added on function but It's not calling, It's waiting for User interruption Example Prompt: Step 2: Offer Available Appointment Dates: note: take a one second pause and then start this "Great! We have appointment openings starting from {{slot_date}}. Could you let me know which specific date you would prefer for your in-person screening?" Behavior Description: Auto trigger As soon as the user confirms a specific date, immediately call the fetch_available_slots function. This function will retrieve the available time slots for the selected date. The assistant will use the response from this function to provide the user with a list of available times, ensuring a seamless and prompt booking experience. Key Actions: Display available dates to the user starting from {{slot_date}}. Wait for the user to confirm their preferred date. Upon confirmation, trigger the fetch_available_slots function automatically without delay. Use the retrieved slots to guide the user to select a suitable time. -even if there is no response from the user still tell the slot from your end don't wait for this step to tell the slots to the user Please help me on that https://cdn.discordapp.com/attachments/1308052170901291129/1308052171597680701/image.png?ex=673c8a04&is=673b3884&hm=1cb339b6fdf160253545ede898813f4d52cd95a6556e757adc154652c05561a8&
v
You can continue this conversation by mentioning me in the message.
@GroovyAI It sounds like you're looking to automate the process of fetching available appointment slots as soon as the user confirms a specific date, without waiting for further user interaction. To achieve this, you'll need to ensure that your system is set up to listen for the user's confirmation and then immediately call the
fetch_available_slots
function. Here's what you can do: 1. **Display Available Dates**: Present the user with available dates starting from the provided
{{slot_date}}
. Make sure to include a prompt that clearly asks the user to confirm their preferred date. 2. **User Confirmation**: Your system should be designed to detect when the user has confirmed a date. This could be through voice recognition, text input, or another method depending on your setup. 3. **Trigger Function**: As soon as the user confirms a date, your system should automatically call the
fetch_available_slots
function. Ensure there are no unnecessary delays in this process. 4. **Handle No Response**: If there is no response from the user, your system should proceed to offer a default slot or the next available slot to keep the process moving forward. Since I don't have the actual
fetch_available_slots
function or the mechanism to detect user confirmation within this environment, I can't execute the function call for you. However, you should implement the logic within your system to handle these steps. If you're experiencing issues with the function not being called, you may need to check your system's event listeners or the conditions set for triggering the function. Ensure that the function is properly defined and that there are no errors in the code that could be preventing it from executing. If you need further assistance with the technical implementation or troubleshooting, please provide more details about your current setup or ask support for more info on this.
g
No, I don't want to wait for user confirms Once user select the date auto call fetch_available_slots and then speek the slots
It's outbound call with Twillio
And Also some time is function not called but slot say randomly 😦
It there any cache
s
Hey @GroovyAI To help track down this issue, could you share: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help me figure out what went wrong!
g
When prompt is update like immediately or it's take a time?
s
Immediately, and can you share your issue in the above format.
2 Views