How to add assistant overrides in vapi web sdk
# support
v
@abhay232 To add dynamic variables in VAPI, you typically use an object to pass the variables you want to include. The object should be formatted with key-value pairs, where the key is the name of the variable and the value is the dynamic content you want to insert. For example, if you want to add a variable for a user's name, you would create an object like this:
Copy code
json
{
  "name": "John"
}
Then, you can use this object in the context where the API allows for dynamic variables. If you're having trouble adding a second argument or using dynamic variables, please provide me with more details about the specific function or method you're trying to use, and I'll be happy to assist you further!
You can continue this conversation by mentioning me in the message.
s
Copy code
vapi.start(assistantId, assistantOverrides, squad)
r
Any here that could get the squad to wrk? Why create Assistants and again configure(model, voice etc..) them in the Squad and how do I initiate the Squad? Its so very confusing, how di i initiate the Squad that I created, tried multiple, none worked, I then tried initiating initialAssistant, the transfer breaks, gives a Room Error...all seem to work on the Web testing, but when I implement on my Website, it just breaks down
11 Views