brandon holley
01/11/2025, 8:42 PMbrandon holley
01/11/2025, 8:43 PMVapi
01/11/2025, 8:43 PMVapi
01/11/2025, 8:44 PMnamespace.function_name
format to avoid ambiguity.
4. **Sequential Logic**: If tools need to be used in a specific order, structure your instructions to reflect this sequence. However, if the tools can operate in parallel, consider using the multi_tool_use.parallel
function to trigger them simultaneously.
5. **Error Handling**: Include error handling in your instructions. If a tool fails to trigger, provide a fallback or an alternative action.
6. **Testing**: Test your instructions thoroughly to ensure they trigger the tools as expected under various scenarios.
7. **Documentation**: Refer to the documentation for each tool to understand its triggering mechanism and parameters.
8. **Updates**: Keep your instructions up-to-date with any changes in the tools' APIs or triggering mechanisms.
By following these guidelines, you can improve the consistency of tool triggering in your prompt instructions. If you have a specific tool or scenario in mind, I can provide more detailed guidance.Vapi
01/11/2025, 8:44 PMbrandon holley
01/11/2025, 8:48 PMVapi
01/11/2025, 8:48 PMStep 7: Appointment Scheduling
1. Prompt the user with: "What date and time would work best for your appointment?"
2. Wait for the user's response and collect the date and time.
3. Use the collected date and time to trigger the CheckAvailabilityBookAppointmentDVS tool.
Example: `CheckAvailabilityBookAppointmentDVS({ date: "{{Date}}", time: "{{Time}}" })`
4. If the tool confirms the date and time are available, inform the user and proceed to step 8.
5. If the date and time are not available, inform the user and ask for alternative options.
Make sure to replace {{Date}}
and {{Time}}
with the actual variables or placeholders that will contain the user's response. Also, ensure that the tool name CheckAvailabilityBookAppointmentDVS
matches the actual tool you intend to use, and that you have the correct function call syntax based on your system's requirements.
By structuring your prompt this way, you provide clear instructions for each step of the process, which helps in triggering the tool consistently.Shubham Bajaj
01/12/2025, 3:17 AM