Moody Reaper
07/01/2024, 11:31 AMllmRequestNonPunctuatedDelaySeconds
parameter to PATCH /assistant
.
Potentially, the same is applies to POST /assistant
.
Here is the example of request body without llmRequestNonPunctuatedDelaySeconds
which leads to getting 200 response:
{'url': 'there_was_model_url', 'model': 'there_was_model_name', 'provider': 'custom-llm'}, 'voice': {'provider': '11labs', 'voiceId': 'QrRJx7pPvPGFVMtAx4IR', 'model': 'eleven_turbo_v2', 'inputPreprocessingEnabled': True, 'inputReformattingEnabled': False, 'enableSsmlParsing': True}, 'language': 'en-US', 'name': 'vapi_caller', 'firstMessage': "Hello! This is Reaper's VAPI test agent from DEV environment!!", 'voicemailDetectionEnabled': False, 'silenceTimeoutSeconds': 600, 'llmRequestDelaySeconds': 0.05, 'transcriber': {'provider': 'deepgram', 'model': 'nova-2-phonecall', 'language': 'en', 'smartFormat': False}}
Here is the example of request body with llmRequestNonPunctuatedDelaySeconds
which leads to getting 500 response:
{'model': {'url': 'there_was_model_url', 'model': 'there_was_model_name', 'provider': 'custom-llm'}, 'voice': {'provider': '11labs', 'voiceId': 'QrRJx7pPvPGFVMtAx4IR', 'model': 'eleven_turbo_v2', 'inputPreprocessingEnabled': True, 'inputReformattingEnabled': False, 'enableSsmlParsing': True}, 'language': 'en-US', 'name': 'vapi_caller', 'firstMessage': "Hello! This is Reaper's VAPI test agent from DEV environment!!", 'voicemailDetectionEnabled': False, 'silenceTimeoutSeconds': 600, 'llmRequestDelaySeconds': 0.05, 'llmRequestNonPunctuatedDelaySeconds': 0.25, 'transcriber': {'provider': 'deepgram', 'model': 'nova-2-phonecall', 'language': 'en', 'smartFormat': False}}
Vapi
07/01/2024, 11:32 AMllmRequestNonPunctuatedDelaySeconds
parameter in the API. Since you're receiving a 500 status code, this indicates a server-side error, which could be due to various reasons such as a bug in the API, incorrect handling of the new parameter, or the parameter not being supported yet.
To resolve this issue, please double-check the API documentation to ensure that the llmRequestNonPunctuatedDelaySeconds
parameter is correctly implemented and supported. If the documentation confirms that it should work as expected, then the issue might be on the server side, and I would recommend reaching out to the API support team with the details of the error.
If you need further assistance or if there's anything else I can help you with, please let me know!Vapi
07/01/2024, 11:32 AMVapi
07/01/2024, 11:33 AMSahil
07/01/2024, 4:00 PMMoody Reaper
07/02/2024, 3:09 PMSahil
07/02/2024, 3:11 PMSahil
07/02/2024, 3:14 PMSahil
07/02/2024, 3:30 PM