Module create_assistant_dto_model

Source

Enums§

CreateAssistantDtoModel
CreateAssistantDtoModel : These are the options for the assistant’s LLM. These are the options for the assistant’s LLM.
FallbackModelsTrue
These are the fallback models that will be used if the primary model fails. This shouldn’t be specified unless you have a specific reason to do so. Vapi will automatically find the fastest fallbacks that make sense.
MetadataSendModeTrue
This determines whether metadata is sent in requests to the custom provider. - off will not send any metadata. payload will look like { messages } - variable will send assistant.metadata as a variable on the payload. payload will look like { messages, metadata } - destructured will send assistant.metadata fields directly on the payload. payload will look like { messages, ...metadata } Further, variable and destructured will send call, phoneNumber, and customer objects in the payload. Default is variable.
ModelTrue
This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b
ProviderTrue
ToolStrictCompatibilityModeTrue
Azure OpenAI doesn’t support maxLength right now https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/structured-outputs?tabs=python-secure%2Cdotnet-entra-id&pivots=programming-language-csharp#unsupported-type-specific-keywords. Need to strip. - strip-parameters-with-unsupported-validation will strip parameters with unsupported validation. - strip-unsupported-validation will keep the parameters but strip unsupported validation. @default strip-unsupported-validation