Hi there! 👋
I wasn't able to find specific information about creating a new assistant in real-time during an active call. However, I can definitely help with how to create a new assistant and connect it to a phone number that doesn't currently have one assigned on your local organization server!
According to the [documentation I found](
https://docs.vapi.ai/quickstart/dashboard), you can create a new assistant and connect it to a phone number through these steps:
1. **Create a new assistant**:
- Navigate to the "Assistants" dashboard tab
- Click the "Create new assistant" button
- Choose the "Blank Template" option
- Name your assistant
- Set the "brains" by choosing a large language model (e.g., GPT-4)
- Set your provider key
- Click "Create"
2. **Connect the assistant to your phone number**:
- Go to the "Phone Numbers" section in your dashboard
- Select the phone number you want to connect
- In the "Inbound" area of the phone number detail view, select your newly created assistant from the dropdown under "Assistant"
For a local organization server setup, you have additional options. According to the [server URL documentation](
https://docs.vapi.ai/server-url/setting-server-urls), you can:
1. Configure your phone number to use a server URL instead of a fixed assistant
2. When a call comes in, VAPI will send an "assistant-request" to your server
3. Your server can then dynamically determine which assistant to use and return the appropriate configuration
This approach gives you more flexibility to assign different assistants based on criteria like time of day, caller information, or other business logic.
Is there anything specific about this process you'd like me to explain further?
Sources:
- [Quickstart Dashboard](
https://docs.vapi.ai/quickstart/dashboard)
- [Server URL Setting](
https://docs.vapi.ai/server-url/setting-server-urls)
- [Server URL Events](
https://docs.vapi.ai/server-url/events)