Diogo Gonçalves
01/17/2025, 9:08 AMDiogo Gonçalves
01/17/2025, 9:08 AMDiogo Gonçalves
01/17/2025, 9:09 AMVapi
01/17/2025, 9:10 AMpython
from vapi import VAPI
# Initialize your VAPI client
client = VAPI(secret_key='your_secret_key')
# Set up your transcriber with the necessary headers
transcriber_settings = {
'provider': 'your_custom_provider',
'model': 'your_custom_model',
'headers': {
'Your-Custom-Header': 'header_value',
# Add other headers as needed
}
}
# Apply the transcriber settings to your assistant
assistant = client.create_assistant(transcriber=transcriber_settings)
Make sure that you replace 'your_custom_provider'
, 'your_custom_model'
, 'Your-Custom-Header'
, and 'header_value'
with the actual values you intend to use.
If you've already done this and the headers are still not being passed correctly, there might be an issue with how the VAPI service is handling your request or a bug in the SDK. In that case, please ask support for more info on this, and they can provide you with further assistance.Vapi
01/17/2025, 9:10 AMVapi
01/17/2025, 9:12 AMDiogo Gonçalves
01/17/2025, 9:13 AMDiogo Gonçalves
01/17/2025, 6:01 PMShubham Bajaj
01/17/2025, 8:08 PMDiogo Gonçalves
01/17/2025, 9:06 PMShubham Bajaj
01/17/2025, 9:38 PMDiogo Gonçalves
01/17/2025, 9:39 PMDiogo Gonçalves
01/20/2025, 8:52 AMShubham Bajaj
01/20/2025, 4:12 PMDiogo Gonçalves
01/21/2025, 4:12 PMShubham Bajaj
01/22/2025, 4:43 PMDiogo Gonçalves
01/23/2025, 10:13 AMShubham Bajaj
01/24/2025, 8:59 AM