absent-sapphire•13mo ago
How do I change/test custom parameters like "firstmessagemode"
There is no option in the vapi dashboard to change some of these custom parameters. How do I do this? Will I need to use another platform?
22 Replies
@Aryan Nindra
Not at all, you don't need to switch platforms. Custom parameters can typically be set programmatically through the VAPI's configuration options. If you're looking to change custom parameters and can't find the option in the dashboard, it's possible that these settings are managed through the API or a configuration file.
Could you please specify which custom parameters you're looking to change? I can then provide you with more detailed instructions on how to update them.
You can continue this conversation by mentioning me in the message.
absent-sapphireOP•13mo ago
Couple of questions:
1) Can you understand the text in the title?
2) Where else can I chat with you other than in the support channel? If I press "mark as resolved", will you still reply?
3) My parameter I want to change is "firstmessagemode"
@Aryan Nindra
1) Yes, I can understand the text in the title. It provides context for the VAPI settings, such as "firstMessageMode," "recordingEnabled," and "hipaaEnabled."
2) You can interact with me in any channel where VAPI support is integrated. If you mark an issue as resolved, I won't be able to reply in that particular support ticket, but you can always start a new conversation if you have more questions or need further assistance.
3) To change the "firstMessageMode" parameter, you would typically need to access the configuration settings where this parameter is defined. This might involve modifying a configuration file or using an API endpoint that allows you to update your VAPI settings. If you need specific guidance on how to change this parameter, please let me know, and I can provide more detailed instructions or direct you to the appropriate documentation.
absent-sapphireOP•13mo ago
1) Can other people see this support ticket right now? And answer? When I press "Ask for help", what does it do?
2) Yes, can I have specfic guidance/instructions, and appropriate documentation
@Aryan Nindra
1) The visibility of this support ticket depends on the settings of the platform you're using. Typically, support tickets are private and can only be seen by the support team and the person who created the ticket. If you press "Ask for help," it usually notifies the support team that you need assistance, and a support agent or an automated system like me will respond to your query.
2) To provide you with specific guidance and appropriate documentation for changing the "firstMessageMode" parameter, I would need to know more about the environment you're working in. However, here's a general approach:
- Locate the configuration file or section in your VAPI dashboard where "firstMessageMode" is defined.
- Update the parameter to the desired value. This might involve setting it to true or false, or changing a string value.
- Save the changes and, if necessary, restart the VAPI service to apply the new configuration.
If you're using an API to make this change, you would send a request to the appropriate endpoint with the new value for "firstMessageMode."
For detailed documentation, you would typically find this in the developer section of the VAPI provider's website or in the API reference guide. If you can tell me which VAPI provider you're using, I can try to locate the specific documentation for you.
absent-sapphireOP•13mo ago
1) There is no configuration option in the Vapi dashboard for this. What is a configuration file?
2) What is an example of how I would use an API to send a request to vapi and make a call?
3) what is a "vapi provider"?
@Aryan Nindra
1) A configuration file is a file used by software applications to configure settings and parameters. It's typically a text file that contains a series of commands or values that the application reads and applies. If the VAPI dashboard doesn't provide an option to change the "firstMessageMode" parameter, it might be set in a configuration file on the server where your VAPI application is hosted.
2) To use an API to send a request to VAPI and make a call, you would typically use an HTTP client to send a POST request to the VAPI endpoint. Here's a simplified example using cURL, a command-line tool for making HTTP requests:
In this example, replace
https://api.vapi.net/make_call
with the actual endpoint URL, YOUR_API_TOKEN
with your actual API token, and the phone numbers with the actual numbers you wish to use. The firstMessageMode
parameter would be set to the mode you want to use for the call.
3) A "VAPI provider" refers to a company or service that offers Voice API (VAPI) services. These providers offer APIs that allow developers to integrate voice calling capabilities into their applications. Examples of VAPI providers include Twilio, Nexmo (Vonage), and Plivo. Each provider has its own set of APIs and documentation for developers to use when building voice-enabled applications.absent-sapphireOP•13mo ago
How do I make a post call to Vapi from postman?
@Aryan Nindra
To make a POST call to VAPI from Postman, follow these steps:
1. Open Postman and create a new request by clicking the "New" button or the "+" tab.
2. Set the HTTP method to "POST" using the dropdown menu to the left of the URL input field.
3. Enter the URL for the VAPI endpoint you wish to call. This URL is provided by your VAPI provider and will be specific to the action you want to perform, such as making a call or sending a message.
4. Go to the "Headers" tab in Postman. Add any necessary headers required by your VAPI provider. Common headers include:
-
Content-Type
: Set this to application/json
.
- Authorization
: If your VAPI requires authentication, set this to Bearer YOUR_API_TOKEN
, replacing YOUR_API_TOKEN
with your actual API token.
5. Go to the "Body" tab and select "raw" to enter the JSON payload for your POST request. Input the JSON data that the VAPI endpoint expects. For example:
Replace the placeholder values with the actual data you want to send.
6. Once you've set up the request, click the "Send" button to make the POST call to the VAPI endpoint.
7. Postman will display the response from the VAPI server in the lower section of the window. You can review the status code, response time, and the body of the response to ensure your call was successful.
Remember to replace the placeholder values with actual data relevant to your VAPI provider and the specific call you're making. If you encounter any issues, check the documentation provided by your VAPI provider for specific requirements and troubleshooting tips.absent-sapphireOP•13mo ago
can you explain what assistant.modelOutputInMessagesEnabled does
@Aryan Nindra
The
assistant.modelOutputInMessagesEnabled
parameter seems to be a setting related to the configuration of an assistant or chatbot, possibly within a Voice API (VAPI) or a similar service. While this specific parameter is not a standard or commonly recognized setting, based on its name, I can infer its possible functionality:
- assistant
: This likely refers to the chatbot or virtual assistant instance.
- modelOutputInMessages
: This suggests that the setting controls whether the output generated by the underlying model (such as AI or machine learning model) is included in the messages.
- Enabled
: This indicates that the setting can be toggled on or off.
Putting it together, assistant.modelOutputInMessagesEnabled
could be a configuration setting that, when enabled, allows the output from the assistant's AI model to be included in the messages sent to the user. This might be used for debugging purposes or to provide transparency about how the assistant is generating its responses.
However, without specific documentation or context, this is an educated guess. If you need precise information about this setting, it would be best to consult the documentation provided by the service you are using or reach out to their support team for clarification.absent-sapphireOP•13mo ago
Is there a way to see what is outputted by the STT or the transcriber, and the model, when using Vapi?
@Aryan Nindra
Yes, when using VAPI (Voice API) with speech-to-text (STT) or transcription services, you can typically see the output of the transcriber and the model. This is often available through logging or debugging features provided by the VAPI platform. Here's how you might access this information:
1. Logging: Check if your VAPI provider offers logging features. Logs can include detailed information about the API requests and responses, including the output of the STT service.
2. Webhooks/Callbacks: Some VAPI providers use webhooks or callbacks to send real-time events and data to your application. This can include transcription results.
3. API Responses: When you make a request to an STT service, the response usually includes the transcribed text. You can view this in the API response payload.
4. Dashboard: Some VAPI providers offer a dashboard where you can view recent calls, transcriptions, and other interactions.
5. Debug Mode: If the VAPI provider supports a debug mode, enabling it might provide additional output from the STT service and the model for each interaction.
To get the exact steps and methods available for your specific VAPI provider, you should refer to their documentation or contact their support team. If you're using a specific VAPI provider and need help locating this information, please let me know, and I can assist you further.
absent-sapphireOP•13mo ago
Context: I said a 10 digit phone number, the AI call bot said it was invalid. It is not invalid, it is a valid 10 digit phone number. What was the transcriber output that was actually sent to my model? Was it "b6 363 121 3612 3612." Or was it "363 121 3612"

@Aryan Nindra
Please ask support for more info on this.
absent-sapphireOP•13mo ago
How do I see the request that was sent to the model?
@Aryan Nindra
To see the request that was sent to the model, you would typically access the logs or the detailed request information provided by your VAPI provider. Here's a general approach to accessing this information:
1. Check the Dashboard: If your VAPI provider offers a web dashboard, it may include a section for logs or call details where you can see the requests and responses for each call.
2. API Logs: Some providers have an API endpoint that allows you to retrieve logs programmatically. You would need to make an API call to this endpoint to fetch the log data.
3. Webhooks/Event Callbacks: If you have set up webhooks or event callbacks, the transcribed text and other call details might be sent to your specified endpoint in real-time.
4. Debugging Tools: If your VAPI provider offers debugging tools, you can use them to trace the requests and responses.
5. Support Team: If you're unable to find the information through the dashboard or API, you can contact the support team of your VAPI provider and ask for assistance in retrieving the request details.
If you provide the name of your VAPI provider or more details about the environment you're working in, I can give you more specific instructions.
absent-sapphireOP•13mo ago
yeah, my vapi provider is called "Vapi"
@Aryan Nindra
If your VAPI provider is "Vapi," and you need to see the request that was sent to the model, including what the transcriber outputted, you should look for a logging or reporting feature within the Vapi dashboard or documentation. Here's what you can do:
1. Dashboard: Log in to your Vapi dashboard and look for a section related to call logs, history, or analytics. This section might display detailed information about each call, including the transcribed text.
2. Documentation: Visit the Vapi documentation website and search for information on how to access call logs or transcriptions. The documentation might provide specific endpoints or methods to retrieve this data.
3. API: If Vapi offers an API for retrieving call details, you can use it to fetch the transcribed text. You might need to send a GET request to an endpoint that returns the call logs or transcription details.
4. Support: If you're unable to find the information through the dashboard or API, reach out to Vapi's support team for assistance. They can guide you on how to access the transcribed text and request details.
Since I don't have access to Vapi's specific system or documentation, I recommend checking their official resources or contacting their support for the exact steps to follow. If you need further assistance, please let me know, and I'll do my best to help.
magic-amber•13mo ago
Info about firstMessageMode:
{"type": "string","description": "This is the mode for the first message. Default is 'assistant-speaks-first'.
Use:
- 'assistant-speaks-first' to have the assistant speak first.
- 'assistant-waits-for-user' to have the assistant wait for the user to speak first.
- 'assistant-speaks-first-with-model-generated-message' to have the assistant speak first with a message generated by the model based on the conversation state. (
assistant.model.messages
at call start, call.messages
at squad transfer points).
default 'assistant-speaks-first'",
enum": ["assistant-speaks-first","assistant-speaks-first-with-model-generated-message","assistant-waits-for-user"],
"example": "assistant-speaks-first"
@Aryan Nindra to update firstMessageMode you have to update it using API.absent-sapphireOP•13mo ago
Lets say I use the API to update the transcriber settings, for example the keywords. If I change then go and change transcriber settings in the vapi dashboard, do the keyword settings stay or do they revert
magic-amber•13mo ago
No, unless explicity done.