GeneralKugelBlitz
04/17/2024, 10:39 PMVapi Support
04/17/2024, 10:39 PMVapi Support
04/17/2024, 10:39 PM"async": true
property [(1)]() .
However, for the assistant to decide to call a function, including asynchronously, the system message provided in your model's prompt must instruct the assistant clearly on when to trigger these function calls. The effectiveness of function calling, including asynchronous calls, greatly depends on how well the prompts are designed and the conditions set for calling a function.
If the assistant isn't calling the function as expected, review the prompt and ensure it's designed to trigger the function call under the right conditions. Remember, the assistant's behavior is guided by the instructions defined in the prompt. For further refinement and testing of function calls, including asynchronous ones, you might need to adjust your prompt or function configuration accordingly.Vapi Support
04/17/2024, 10:40 PMGeneralKugelBlitz
04/17/2024, 10:41 PMVapi Support
04/17/2024, 10:41 PMVapi Support
04/17/2024, 10:41 PMfirstMessage
property when setting up your assistant. This property allows you to define a message that will be spoken by your assistant when the user starts the call. While this doesn't directly trigger a function, you can design this first message in a way that leads into the scenario where your function would be needed, thus indirectly initiating the condition for the function call.
For setting up firstMessage
and integrating it into your workflow effectively, you might want to review your assistant's setup and ensure that your system prompt and function definitions are aligned with the intended user interactions. Remember, the effectiveness of triggering functions also depends on how your assistant's model is prompted to recognize when to perform certain actions [(1)]() .
For more complex scenarios or specific behaviors like implicitly triggering a function at the start of a call, you might need to delve deeper into customizing your assistant's behavior or consider reaching out for more tailored support.
For more detailed information on how to set up your assistant including firstMessage
, refer to the documentation on creating and updating assistants [(2)]() [(3)]() .GeneralKugelBlitz
04/17/2024, 11:23 PMSahil
04/18/2024, 7:39 AMGeneralKugelBlitz
04/18/2024, 9:00 AMGeo
04/18/2024, 3:02 PMGeneralKugelBlitz
04/18/2024, 3:02 PMGeneralKugelBlitz
04/18/2024, 3:02 PMGeneralKugelBlitz
04/18/2024, 3:05 PMGeneralKugelBlitz
04/18/2024, 3:05 PMMaddy
04/18/2024, 3:07 PMMaddy
04/18/2024, 3:08 PMGeneralKugelBlitz
04/18/2024, 3:10 PMGeneralKugelBlitz
04/18/2024, 3:11 PMGeo
04/18/2024, 3:12 PMGeo
04/18/2024, 3:13 PMMaddy
04/18/2024, 3:25 PMGeneralKugelBlitz
04/18/2024, 3:25 PMMaddy
04/18/2024, 3:25 PMGeneralKugelBlitz
04/18/2024, 3:26 PMGeneralKugelBlitz
04/18/2024, 3:26 PMGeneralKugelBlitz
04/18/2024, 3:26 PMGeneralKugelBlitz
04/18/2024, 3:26 PMGeneralKugelBlitz
04/18/2024, 3:26 PMGeo
04/18/2024, 3:27 PMMaddy
04/18/2024, 3:28 PMMaddy
04/18/2024, 3:28 PMGeo
04/18/2024, 3:30 PMGeneralKugelBlitz
04/18/2024, 3:31 PMMaddy
04/18/2024, 3:33 PMMaddy
04/18/2024, 3:36 PMGeneralKugelBlitz
04/18/2024, 4:02 PMGeneralKugelBlitz
04/18/2024, 4:02 PMGeo
04/18/2024, 4:03 PMSahil
04/18/2024, 5:02 PM