Some questions for VAPI platform
# support
t
Hi team, My customer wants to build an AI support system on your platform that can interact with our system. They want to create squads and assistants on your dashboard to easily update prompts and control assistant workflows. We're currently using Twilio to handle calls. To trigger an assistant request, we've set the server URL to a phone number. However, when we respond with a squadId and assistantOverrides object, the customerName variable in the first message remains empty. We've tried using a squad object with assistantOverrides for each member, and that works. But our customer wants a way to control the assistant workflow. I have two questions: 1. How can we use dynamic variables with squadId for assistant requests? 2. We want to use a knowledge base to help the assistant check schedule dates and times. Our system has a large dataset. We can split the knowledge base files by our agency, and if so, are there any limitations on file size or the maximum number of files or rate limits for updating these files?
v
@theflash489 Hello! 1. To use dynamic variables with squadId for assistant requests, you can define the dynamic variables within the assistantOverrides object. This allows you to pass context-specific information, such as the customerName, into the assistant's workflow. Make sure that the dynamic variables are correctly referenced in your prompts and that the assistant is configured to recognize and utilize these variables. 2. Regarding the knowledge base for checking schedule dates and times, you can indeed split the knowledge base files by your agency. As for limitations, while I don't have the specific file size, number of files, or rate limits for updates, it's generally a good practice to keep the files optimized for quick access and updates. If you have a large dataset, consider structuring your knowledge base to allow efficient querying and retrieval of information. If you need precise limitations and best practices for managing your knowledge base files, please ask support for more info on this. If you need further assistance with setting up dynamic variables or optimizing your knowledge base, feel free to reach out. We're here to help!
You can continue this conversation by mentioning me in the message.
t
@User
s
@theflash489 1. You have to use transisent squad and pass the member overrides using it.
Copy code
curl -X POST https://api.vapi.ai/call \
     -H "Authorization: Bearer " \
     -H "Content-Type: application/json" \
     -d '{
  "squad": {
    "members": [],
    "membersOverrides": {}
  }
}'
2. We are migrating our KB services to different providers and by end of this week we will announce new features and changes. So, for the KB part I request you to wait for sometime.
7 Views